mirror of
https://github.com/ItsDrike/nixdots
synced 2024-12-25 18:24:34 +00:00
Move dconf dark mode override to gtk.nix
This commit is contained in:
parent
919a2efc17
commit
d87680738d
|
@ -2,11 +2,8 @@
|
||||||
dconf = {
|
dconf = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
# This is like a system-wide dark mode swithc that some apps respect
|
"org/gtk/settings/file-chooser" = {
|
||||||
# Equivalent of the following dconf command:
|
sort-directories-first = true;
|
||||||
# `conf write /org/gnome/desktop/interface/color-scheme "'prefer-dark'"`
|
|
||||||
"org/gnome/desktop/interface" = {
|
|
||||||
color-scheme = "prefer-dark";
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -78,7 +78,13 @@ in {
|
||||||
};
|
};
|
||||||
|
|
||||||
dconf.settings = {
|
dconf.settings = {
|
||||||
|
# This is like a system-wide dark mode swithc that some apps respect it.
|
||||||
|
# Equivalent of the following dconf command:
|
||||||
|
# `conf write /org/gnome/desktop/interface/color-scheme "'prefer-dark'"`
|
||||||
|
"org/gnome/desktop/interface".color-scheme = "prefer-dark";
|
||||||
|
|
||||||
"org/gnome/desktop/interface".gtk-theme = cfg.theme.name;
|
"org/gnome/desktop/interface".gtk-theme = cfg.theme.name;
|
||||||
|
|
||||||
# For Gnome shell
|
# For Gnome shell
|
||||||
"org/gnome/shell/extensions/user-theme".name = cfg.theme.name;
|
"org/gnome/shell/extensions/user-theme".name = cfg.theme.name;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue