fix: provide declarative fallback for theme hyprland.conf
This commit is contained in:
9
assets/themes/nord/hyprland.conf
Normal file
9
assets/themes/nord/hyprland.conf
Normal file
@@ -0,0 +1,9 @@
|
||||
$activeBorderColor = rgb(81a1c1)
|
||||
|
||||
general {
|
||||
col.active_border = $activeBorderColor
|
||||
}
|
||||
|
||||
group {
|
||||
col.border_active = $activeBorderColor
|
||||
}
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user