summaryrefslogtreecommitdiff
path: root/nix/programs/hypr
diff options
context:
space:
mode:
Diffstat (limited to 'nix/programs/hypr')
-rw-r--r--nix/programs/hypr/hyprland.nix21
-rw-r--r--nix/programs/hypr/hyprlock.nix8
2 files changed, 17 insertions, 12 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 = {
diff --git a/nix/programs/hypr/hyprlock.nix b/nix/programs/hypr/hyprlock.nix
index 9324f57..8c8f63d 100644
--- a/nix/programs/hypr/hyprlock.nix
+++ b/nix/programs/hypr/hyprlock.nix
@@ -35,10 +35,10 @@
dots_center = true;
outer_color = "rgba(0, 0, 0, 0)";
inner_color = "rgba(0, 0, 0, 0.5)";
- font_color = "rgb(${config.theme.colors.base05})";
+ font_color = "rgb(${config.theme.colors.fg})";
font_family = config.theme.font.regular;
fade_on_empty = false;
- placeholder_text = "<i><span foreground=\"##${config.theme.colors.base05}\">Input Password...</span></i>";
+ placeholder_text = "<i><span foreground=\"##${config.theme.colors.fg}\">Input Password...</span></i>";
hide_input = false;
position = "0, -120";
halign = "center";
@@ -51,7 +51,7 @@
monitor = "";
text = "cmd[update:1000] echo \"$(date +\"%-H:%M:%S\")\"";
font_size = 80;
- font_color = "rgb(${config.theme.colors.base05})";
+ font_color = "rgb(${config.theme.colors.fg})";
font_family = config.theme.font.header;
position = "0, 500";
halign = "center";
@@ -62,7 +62,7 @@
{
monitor = "";
text = config.fullName;
- font_color = "rgb(${config.theme.colors.base05})";
+ font_color = "rgb(${config.theme.colors.fg})";
font_family = config.theme.font.header;
font_size = 25;
position = "0, 50";