diff --git a/assets/themes/nord/hyprland.conf b/assets/themes/nord/hyprland.conf new file mode 100644 index 0000000..daeb243 --- /dev/null +++ b/assets/themes/nord/hyprland.conf @@ -0,0 +1,9 @@ +$activeBorderColor = rgb(81a1c1) + +general { + col.active_border = $activeBorderColor +} + +group { + col.border_active = $activeBorderColor +} diff --git a/modules/home/theme-files.nix b/modules/home/theme-files.nix index db32b07..4d512ed 100644 --- a/modules/home/theme-files.nix +++ b/modules/home/theme-files.nix @@ -6,6 +6,11 @@ recursive = true; }; + # Ensure theme-specific hyprland config exists, fallback to nord if not + xdg.configFile."nomarchy/current/theme/hyprland.conf" = lib.mkIf (! builtins.pathExists (../../assets/themes + "/${config.nomarchy.theme}/hyprland.conf")) { + source = ../../assets/themes/nord/hyprland.conf; + }; + xdg.configFile."nomarchy/current/theme.name".text = config.nomarchy.theme; # Expose branding assets