Properly set dark theme in gtk

This commit is contained in:
Artemis Tosini 2023-04-27 23:57:25 +00:00
parent aa3c1a6c22
commit b496da2a55
Signed by: artemist
GPG key ID: EE5227935FE3FF18
2 changed files with 14 additions and 0 deletions

View file

@ -7,6 +7,7 @@
};
home-manager.users.artemis = {
imports = [
./gtk.nix
./git.nix
./mpv.nix
./kitty.nix

13
home/gtk.nix Normal file
View file

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