diff options
author | Freya Murphy <freya@freyacat.org> | 2025-06-17 21:35:43 -0400 |
---|---|---|
committer | Freya Murphy <freya@freyacat.org> | 2025-06-17 21:35:43 -0400 |
commit | f40273ec45e6676b975d42f4bc0c44a6392b7098 (patch) | |
tree | a896d01bed07fb1aa57d37b75d8fa2ad714e4ccf /nix/programs/hypr/hyprland.nix | |
parent | change color scheme basis (diff) | |
download | dotfiles-nix-f40273ec45e6676b975d42f4bc0c44a6392b7098.tar.gz dotfiles-nix-f40273ec45e6676b975d42f4bc0c44a6392b7098.tar.bz2 dotfiles-nix-f40273ec45e6676b975d42f4bc0c44a6392b7098.zip |
refactor styles to new color scheme basis
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 = { |