forked from pub-solar/os
qutebrowser: enable darkmode
This commit is contained in:
parent
c5a2fa2f4d
commit
61c732a8e0
|
@ -240,6 +240,10 @@ c.url.start_pages = ['https://nixos.org/nixos/manual/options.html']
|
||||||
|
|
||||||
c.hints.chars = "asdfghjklvbcntyruewom"
|
c.hints.chars = "asdfghjklvbcntyruewom"
|
||||||
|
|
||||||
|
c.colors.webpage.darkmode.enabled = True
|
||||||
|
|
||||||
|
c.colors.webpage.prefers_color_scheme_dark = True
|
||||||
|
|
||||||
# Font color for hints.
|
# Font color for hints.
|
||||||
# Type: QssColor
|
# Type: QssColor
|
||||||
c.colors.hints.fg = '#EFF0EB'
|
c.colors.hints.fg = '#EFF0EB'
|
||||||
|
|
|
@ -24,7 +24,7 @@ in
|
||||||
(final: prev: {
|
(final: prev: {
|
||||||
# wrapper to specify config file
|
# wrapper to specify config file
|
||||||
qute = prev.writeShellScriptBin "qute" ''
|
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