qutebrowser: enable darkmode
This commit is contained in:
parent
c5a2fa2f4d
commit
61c732a8e0
2 changed files with 5 additions and 1 deletions
|
@ -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'
|
||||
|
|
|
@ -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 "$@"
|
||||
'';
|
||||
})
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue