mirror of
https://github.com/ItsDrike/nixdots
synced 2024-12-25 06:54:35 +00:00
Move dconf dark mode override to gtk.nix
This commit is contained in:
parent
919a2efc17
commit
d87680738d
|
@ -2,11 +2,8 @@
|
|||
dconf = {
|
||||
enable = true;
|
||||
settings = {
|
||||
# This is like a system-wide dark mode swithc that some apps respect
|
||||
# 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/gtk/settings/file-chooser" = {
|
||||
sort-directories-first = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -78,7 +78,13 @@ in {
|
|||
};
|
||||
|
||||
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;
|
||||
|
||||
# For Gnome shell
|
||||
"org/gnome/shell/extensions/user-theme".name = cfg.theme.name;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue