From a6e4f0494515b5873d6ab9f2b712a5b7be55a9c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yaroslav=20de=20la=20Pe=C3=B1a=20Smirnov?= Date: Tue, 19 Jan 2021 14:57:16 +0300 Subject: Qutebrowser config * Disable Javascript by default * Set prefers-color-scheme to dark --- dotfiles/.config/qutebrowser/config.py | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'dotfiles/.config/qutebrowser') diff --git a/dotfiles/.config/qutebrowser/config.py b/dotfiles/.config/qutebrowser/config.py index 9df249f..282aec5 100644 --- a/dotfiles/.config/qutebrowser/config.py +++ b/dotfiles/.config/qutebrowser/config.py @@ -27,6 +27,10 @@ ultramar = { c.content.notifications = False +## Disable JS by default + +c.content.javascript.enabled = False + ## Downloads # Automatically remove finished downloads from list @@ -46,6 +50,9 @@ c.url.start_pages = "https://srx.yaroslavps.com" ## Default fonts c.fonts.default_size = "10pt" +## Prefer dark mode in websites that support it +c.colors.webpage.prefers_color_scheme_dark = True + ## Background color of the completion widget category headers. ## Type: QssColor c.colors.completion.category.bg = ultramar['dark0'] -- cgit v1.2.3