feat(gtk): prefer dark mode
This commit is contained in:
parent
94f0ec3f82
commit
307ae1bac9
3 changed files with 19 additions and 2 deletions
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
imports = with lib; with nixosConfig.bchmnn;
|
||||
optionals gui.enable [
|
||||
./gtk.nix
|
||||
./programs
|
||||
] ++ optionals (gui.enable && elem "sway" gui.flavour) [
|
||||
./sway
|
||||
|
|
|
|||
13
users/gandalf/modules/gui/gtk.nix
Normal file
13
users/gandalf/modules/gui/gtk.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{ ... }: {
|
||||
|
||||
gtk = {
|
||||
enable = true;
|
||||
gtk3.extraConfig = {
|
||||
gtk-application-prefer-dark-theme = 1;
|
||||
};
|
||||
gtk4.extraConfig = {
|
||||
gtk-application-prefer-dark-theme = 1;
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue