feat(gtk): prefer dark mode

This commit is contained in:
Jacob Bachmann 2024-01-21 01:07:07 +01:00
parent 94f0ec3f82
commit 307ae1bac9
Signed by: bchmnn
GPG key ID: 732A612DAD28067D
3 changed files with 19 additions and 2 deletions

View file

@ -2,6 +2,7 @@
imports = with lib; with nixosConfig.bchmnn;
optionals gui.enable [
./gtk.nix
./programs
] ++ optionals (gui.enable && elem "sway" gui.flavour) [
./sway

View file

@ -0,0 +1,13 @@
{ ... }: {
gtk = {
enable = true;
gtk3.extraConfig = {
gtk-application-prefer-dark-theme = 1;
};
gtk4.extraConfig = {
gtk-application-prefer-dark-theme = 1;
};
};
}