]> git.friedersdorff.com Git - max/saltfiles.git/blobdiff - states/qutebrowser/files/config.py
Use termite to launch vim
[max/saltfiles.git] / states / qutebrowser / files / config.py
index 6cf70b1df59d08dd0a1799b511d014cac52f5845..858ec9b8758c8a7c01c2f8a3654402a4ced4f7e6 100644 (file)
@@ -3,7 +3,7 @@ config.load_autoconfig()
 c.auto_save.session = True
 c.content.cookies.accept = 'no-3rdparty'
 c.content.images = True
-c.editor.command = ['urxvt', '-e', 'vim', '{file}']
+c.editor.command = ['termite', '-e', 'vim {file}']
 c.tabs.position = 'left'
 c.url.auto_search = 'dns'
 c.url.searchengines = {'DEFAULT': 'https://duckduckgo.com/?q={}'}
@@ -19,6 +19,11 @@ c.content.cookies.store = False
 
 # Allow JS and cookies on own domain
 config.set('content.javascript.enabled', True, '*.friedersdorff.com')
+
+# Fingerprinting protection
+c.content.headers.accept_language = 'en-US,en;q=0.5'
+c.content.headers.user_agent = 'Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0'
+c.content.headers.custom = {'accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'}
 {% endif %}
 
 config.bind(',zl', 'spawn --userscript qute-pass --dmenu-invocation bemenu')
@@ -27,10 +32,6 @@ config.bind(',zpl', 'spawn --userscript qute-pass --dmenu-invocation bemenu --pa
 config.bind(',zol', 'spawn --userscript qute-pass --dmenu-invocation bemenu --otp-only')
 
 
-# Fingerprinting protection
-c.content.headers.accept_language = 'en-US,en;q=0.5'
-c.content.headers.user_agent = 'Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0'
-c.content.headers.custom = {'accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'}
 
 # wayland
 c.window.hide_decoration = True