X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=states%2Fqutebrowser%2Ffiles%2Fconfig.py;h=858ec9b8758c8a7c01c2f8a3654402a4ced4f7e6;hb=89d324799ba4ce6eead6b22b415fc728608a3261;hp=6cf70b1df59d08dd0a1799b511d014cac52f5845;hpb=735c5d5e3a1aab82d77d9461157ecff74dde67a0;p=max%2Fsaltfiles.git diff --git a/states/qutebrowser/files/config.py b/states/qutebrowser/files/config.py index 6cf70b1..858ec9b 100644 --- a/states/qutebrowser/files/config.py +++ b/states/qutebrowser/files/config.py @@ -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