From c409d58b1997676b25c2cf7673da4057be04a740 Mon Sep 17 00:00:00 2001 From: caem Date: Thu, 30 May 2024 19:41:19 +0200 Subject: [PATCH] Use a preset theme instead of stylix for gtk --- users/hu/packages/gtk.nix | 17 +++++++++++++++++ users/hu/packages/stylix.nix | 1 + users/hu/user.nix | 1 + 3 files changed, 19 insertions(+) create mode 100644 users/hu/packages/gtk.nix diff --git a/users/hu/packages/gtk.nix b/users/hu/packages/gtk.nix new file mode 100644 index 0000000..c274785 --- /dev/null +++ b/users/hu/packages/gtk.nix @@ -0,0 +1,17 @@ +{ pkgs, ... }: + +{ + stylix.targets.gtk.enable = false; + gtk = { + enable = true; + theme = { + name = "Gruvbox-Dark-BL-LB"; + package = pkgs.gruvbox-gtk-theme; + }; + iconTheme = { + name = "elementary"; + package = pkgs.pantheon.elementary-icon-theme; + }; + }; +} + diff --git a/users/hu/packages/stylix.nix b/users/hu/packages/stylix.nix index 21c7e53..b99c31b 100644 --- a/users/hu/packages/stylix.nix +++ b/users/hu/packages/stylix.nix @@ -28,6 +28,7 @@ targets = { grub.enable = false; + gtk.enable = false; }; opacity = { diff --git a/users/hu/user.nix b/users/hu/user.nix index 1856e2e..757994d 100644 --- a/users/hu/user.nix +++ b/users/hu/user.nix @@ -30,6 +30,7 @@ imports = [ ./packages/zsh/zsh-home.nix ./packages/git.nix + ./packages/gtk.nix # ./packages/tmux.nix ./packages/hyprland.nix ./packages/foot.nix