qutebrowser: "Fix" theme changing
This commit is contained in:
parent
f5a3708181
commit
9117083e6d
2 changed files with 28 additions and 1 deletions
16
flake.lock
generated
16
flake.lock
generated
|
@ -627,6 +627,21 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"onixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1747676747,
|
||||
"narHash": "sha256-LXkWBVqilgx7Pohwqu/ABxDVw+Cmi5/Mj2S2mpUH0Fw=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "72841a4a8761d1aed92ef6169a636872c986c76d",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"id": "nixpkgs",
|
||||
"ref": "nixos-24.11",
|
||||
"type": "indirect"
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
"inputs": {
|
||||
"disko": "disko",
|
||||
|
@ -637,6 +652,7 @@
|
|||
"nixpkgs": "nixpkgs",
|
||||
"nixvim": "nixvim",
|
||||
"nur": "nur",
|
||||
"onixpkgs": "onixpkgs",
|
||||
"stylix": "stylix",
|
||||
"unixpkgs": "unixpkgs"
|
||||
}
|
||||
|
|
|
@ -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