diff options
| author | Charles Cabergs <me@cacharle.xyz> | 2021-02-07 14:21:32 +0100 |
|---|---|---|
| committer | Charles Cabergs <me@cacharle.xyz> | 2021-02-07 14:21:32 +0100 |
| commit | 3855c5fcf6e8333491dcccea4769922a7ec5a3be (patch) | |
| tree | 95e917530c339dc82b6ea9151c5db2dc78e9b333 /qutebrowser | |
| parent | 5def57e9bcb1372f4659e8f98b38dd54a2b9aebc (diff) | |
| download | dotfiles-3855c5fcf6e8333491dcccea4769922a7ec5a3be.tar.gz dotfiles-3855c5fcf6e8333491dcccea4769922a7ec5a3be.tar.bz2 dotfiles-3855c5fcf6e8333491dcccea4769922a7ec5a3be.zip | |
Added qutebrowser loading autoconfig, mpv not playing 4k video, J/K binded to tab-prev/tab-next, Updated .xinitrc for faster repeat key
Diffstat (limited to 'qutebrowser')
| -rw-r--r-- | qutebrowser/config.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/qutebrowser/config.py b/qutebrowser/config.py index 61d5ae8..e528fb3 100644 --- a/qutebrowser/config.py +++ b/qutebrowser/config.py @@ -1,5 +1,7 @@ from qutebrowser.api import interceptor +config.load_autoconfig(True) + # Youtube ad blocking def filter_yt(info: interceptor.Request): url = info.request_url @@ -42,16 +44,20 @@ c.editor.command = [ c.messages.timeout = 4000 -config.bind(';v', 'hint links spawn /usr/bin/mpv {hint-url} ;;' +config.bind(';v', 'hint links spawn /usr/bin/mpv --ytdl-format=best {hint-url} ;;' 'message-info "opening in video player"') config.bind('<Ctrl-J>', 'completion-item-focus next', 'command') config.bind('<Ctrl-K>', 'completion-item-focus prev', 'command') +config.bind('J', 'tab-prev', 'normal') +config.bind('K', 'tab-next', 'normal') + c.colors.webpage.darkmode.enabled = True # Convert light themed sites to dark theme (very nice result) c.colors.webpage.bg = 'black' # Disabling white flash before page loading # c.content.proxy = 'socks://localhost:9050/' # tor +c.content.autoplay = False # base16-qutebrowser (https://github.com/theova/base16-qutebrowser) # Base16 qutebrowser template by theova |
