From 3b030a6b4efb7d107eb238a84433b7a7e762522b Mon Sep 17 00:00:00 2001 From: Arpit Chakladar Date: Thu, 20 Aug 2026 00:50:12 +0530 Subject: desktop: removed darkman and using gtk with hyprland for dark mode - darkman was adding additional complexity to the theming - most graphical applications already relied on gtk anyways - using the gtk the theme to set the colorscheme makes it more consistent --- modules/desktop/hyprland/default.nix | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'modules/desktop/hyprland') diff --git a/modules/desktop/hyprland/default.nix b/modules/desktop/hyprland/default.nix index aebdbb9..a57d1e5 100644 --- a/modules/desktop/hyprland/default.nix +++ b/modules/desktop/hyprland/default.nix @@ -41,6 +41,7 @@ in CLUTTER_BACKEND = "wayland"; GDK_SCALE = "1"; QT_SCALE_FACTOR = "1"; + GTK_THEME = "Adwaita:dark"; AQ_DRM_DEVICES = if config.desktop.hardware.gpu.secondaryCard != null then @@ -179,5 +180,12 @@ in gtk.enable = false; x11.enable = false; }; + + home.dconf.settings = lib.mkIf config.desktop.enable { + "org/gnome/desktop/interface" = { + color-scheme = "prefer-dark"; + gtk-theme = "Adwaita-dark"; + }; + }; }; } -- cgit v1.2.3