From 7a6d0fb0f0de2e72f522de44ada0a651fef97667 Mon Sep 17 00:00:00 2001 From: Micke Nordin Date: Wed, 11 Nov 2020 09:34:24 +0100 Subject: [PATCH] Set default search engine in qutebrowser --- dotfiles/.config/fish/config.fish | 1 + dotfiles/.config/qutebrowser/config.py | 11 +++++++++++ dotfiles/.config/sway/bin/exec_vim.sh | 2 ++ 3 files changed, 14 insertions(+) create mode 100755 dotfiles/.config/sway/bin/exec_vim.sh diff --git a/dotfiles/.config/fish/config.fish b/dotfiles/.config/fish/config.fish index bb487c9..50320d1 100644 --- a/dotfiles/.config/fish/config.fish +++ b/dotfiles/.config/fish/config.fish @@ -1,2 +1,3 @@ neofetch --title_fqdn on alias ls='exa' +set TERM xterm-256color diff --git a/dotfiles/.config/qutebrowser/config.py b/dotfiles/.config/qutebrowser/config.py index a39894f..f27d3ea 100644 --- a/dotfiles/.config/qutebrowser/config.py +++ b/dotfiles/.config/qutebrowser/config.py @@ -121,3 +121,14 @@ config.set('content.javascript.enabled', True, 'qute://*/*') # Custom keybindings for normal mode config.bind('M', 'hint links spawn mpv {hint-url}') + +# Custom aliases +c.aliases = {'q': 'quit', 'w': 'session-save', 'wq': 'quit --save', 'o': 'open', 'O': 'open -t', 'h': 'history'} + +# Setting dark mode +config.set('colors.webpage.darkmode.enabled', True) + +# Change search engine +config.set('url.searchengines', {'DEFAULT': 'https://startpage.com/sp/search?q={}'}) + +config.set('url.start_pages', 'https://startpage.com') diff --git a/dotfiles/.config/sway/bin/exec_vim.sh b/dotfiles/.config/sway/bin/exec_vim.sh new file mode 100755 index 0000000..54f1a2c --- /dev/null +++ b/dotfiles/.config/sway/bin/exec_vim.sh @@ -0,0 +1,2 @@ +#!/bin/bash +foot --title="Mozilla Thunderbird neovim" nvim $*