qutebrowser: "Fix" theme changing
This commit is contained in:
parent
f5a3708181
commit
9117083e6d
2 changed files with 28 additions and 1 deletions
|
@ -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";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue