alqueva/hosts/cityseventeen/users/arturm/configs/qutebrowser/colours/darkmode.py
Artur Manuel ea7dd98c09
refactor: better modularise arturm/configs/qutebrowser
There are other changes too, such as some tiny refactors to make some things a
small bit more readable. For example: I added a variable in
`cityseventeen/apps.nix` to make environment variables a small bit easier to
read. It is pretty much the same case in `cityseventeen/themes.nix` except I
used map to get each attribute set with package instead of mapAttrs.

There are also some minor tweaks here and there but it isn't worth talking
about.
2025-04-14 19:01:34 +01:00

3 lines
115 B
Python

def darkmode_on(config, pages):
for p in pages:
config.set("colors.webpage.darkmode.enabled", True, p)