diff options
author | Yaroslav de la Peña Smirnov <yps@yaroslavps.com> | 2021-01-19 14:57:16 +0300 |
---|---|---|
committer | Yaroslav de la Peña Smirnov <yps@yaroslavps.com> | 2021-01-19 14:57:16 +0300 |
commit | a6e4f0494515b5873d6ab9f2b712a5b7be55a9c4 (patch) | |
tree | 35ecfdbb68151ae147147759f673e755c748446c /dotfiles/.config/qutebrowser | |
parent | 63a1b47ae25179d89c64108bea2c1d70683c0e37 (diff) | |
download | swayrice-a6e4f0494515b5873d6ab9f2b712a5b7be55a9c4.tar.gz swayrice-a6e4f0494515b5873d6ab9f2b712a5b7be55a9c4.zip |
Qutebrowser config
* Disable Javascript by default
* Set prefers-color-scheme to dark
Diffstat (limited to 'dotfiles/.config/qutebrowser')
-rw-r--r-- | dotfiles/.config/qutebrowser/config.py | 7 |
1 files changed, 7 insertions, 0 deletions
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'] |