qutebrowser: "Fix" theme changing

This commit is contained in:
Geoffrey Frogeye 2025-05-20 23:13:11 +02:00
parent f5a3708181
commit 9117083e6d
2 changed files with 28 additions and 1 deletions

View file

@ -140,7 +140,18 @@
yt = youtube;
};
settings = {
colors.webpage.darkmode.policy.images = "never"; # No inverting images in dark mode, is ugly
colors.webpage = {
darkmode = {
# Hacky JS darkmode. Hot-reloadable tho.
enabled = config.stylix.polarity == "dark";
policy.images = "never"; # No inverting images in dark mode, is ugly
# Doesn't work for allhttps://issues.chromium.org/issues/40718592
};
# Normal dark mode
# Not hot reloadable, so relatively useless.
# Forcing it to override Stylix changes.
preferred_color_scheme = lib.mkForce "light";
};
downloads.location.prompt = false;
tabs = {
show = "never";