diff options
Diffstat (limited to 'nix/programs/hypr/hyprland.nix')
-rw-r--r-- | nix/programs/hypr/hyprland.nix | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/nix/programs/hypr/hyprland.nix b/nix/programs/hypr/hyprland.nix index 7ca450d..9631674 100644 --- a/nix/programs/hypr/hyprland.nix +++ b/nix/programs/hypr/hyprland.nix @@ -7,6 +7,11 @@ let hyprland-plugins = inputs.hyprland-plugins.packages.${system}; hy3 = inputs.hy3.packages.${system}; + fg = "rgb(${config.theme.colors.fg})"; + bg = "rgb(${config.theme.colors.bg})"; + primary = "rgb(${config.theme.colors.primary})"; + inactive = "rgb(${config.theme.colors.surface.bg})"; + debug = false; in @@ -89,8 +94,8 @@ in resize_on_border = "yes"; extend_border_grab_area = 20; border_size = config.theme.borderWidth; - "col.active_border" = "rgb(${config.theme.colors.accent})"; - "col.inactive_border" = "rgb(${config.theme.colors.base04})"; + "col.active_border" = "${primary}"; + "col.inactive_border" = "${inactive}"; }; # Gestures @@ -291,12 +296,12 @@ in radius = config.theme.outerRadius; border_width = config.theme.borderWidth; - "col.active" = "rgb(${config.theme.colors.base00})"; - "col.active.border" = "rgb(${config.theme.colors.accent})"; - "col.active.text" = "rgb(${config.theme.colors.base05})"; - "col.inactive" = "rgb(${config.theme.colors.base00})"; - "col.inactive.border" = "rgb(${config.theme.colors.base04})"; - "col.inactive.text" = "rgb(${config.theme.colors.base05})"; + "col.active" = "${bg}"; + "col.active.border" = "${inactive}"; + "col.active.text" = "${fg}"; + "col.inactive" = "${bg}"; + "col.inactive.border" = "${inactive}"; + "col.inactive.text" = "${fg}"; }; autotile = { |