qutebrowser: enable darkmode

This commit is contained in:
Timothy DeHerrera 2021-02-02 09:39:13 -07:00
parent c5a2fa2f4d
commit 61c732a8e0
No known key found for this signature in database
GPG Key ID: 8985725DB5B0C122
2 changed files with 5 additions and 1 deletions

View File

@ -240,6 +240,10 @@ c.url.start_pages = ['https://nixos.org/nixos/manual/options.html']
c.hints.chars = "asdfghjklvbcntyruewom"
c.colors.webpage.darkmode.enabled = True
c.colors.webpage.prefers_color_scheme_dark = True
# Font color for hints.
# Type: QssColor
c.colors.hints.fg = '#EFF0EB'

View File

@ -24,7 +24,7 @@ in
(final: prev: {
# wrapper to specify config file
qute = prev.writeShellScriptBin "qute" ''
QT_QPA_PLATFORMTHEME= exec ${final.qutebrowser}/bin/qutebrowser -C /etc/xdg/qutebrowser/config.py "$@"
QUTE_DARKMODE_VARIANT=qt_515_2 QT_QPA_PLATFORMTHEME= exec ${final.qutebrowser}/bin/qutebrowser -C /etc/xdg/qutebrowser/config.py "$@"
'';
})
];