From 0736ea0c8bfd77e4e927c0d01738adbe0878d02d Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Thu, 28 Mar 2024 22:12:08 -0400 Subject: [PATCH] hyprland: added dconf settings for dark mode --- homeManagerModules/desktopEnv/hypr/default.nix | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/homeManagerModules/desktopEnv/hypr/default.nix b/homeManagerModules/desktopEnv/hypr/default.nix index 530bb358..11b8b2b0 100644 --- a/homeManagerModules/desktopEnv/hypr/default.nix +++ b/homeManagerModules/desktopEnv/hypr/default.nix @@ -86,6 +86,7 @@ gtk = { enable = true; + theme = { package = pkgs.catppuccin-gtk.override { accents = [ "mauve" ]; @@ -95,6 +96,7 @@ }; name = "Catppuccin-Frappe-Compact-Mauve-Dark"; }; + iconTheme = { package = pkgs.catppuccin-papirus-folders.override { flavor = "frappe"; @@ -102,11 +104,19 @@ }; name = "Papirus-Dark"; }; + font = { name = "NotoSans Nerd Font Regular"; package = pkgs.nerdfonts.override { fonts = [ "Noto" ]; }; size = 11; }; }; + + dconf.settings = { + "org/gnome/desktop/interface" = { + gtk-theme = "Catppuccin-Frappe-Compact-Mauve-Dark"; + color-scheme = "prefer-dark"; + }; + }; }; -} \ No newline at end of file +}