From a7f6d4d354e048b83364cc97fcc0d001b3778960 Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Sun, 25 Jun 2023 12:45:55 -0400 Subject: [PATCH] hyprland: Don't hardcode colors --- home/hyprland.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/home/hyprland.nix b/home/hyprland.nix index f73a582c..a2e2559b 100644 --- a/home/hyprland.nix +++ b/home/hyprland.nix @@ -1,7 +1,7 @@ -{ pkgs, ... }: +{ pkgs, config, ... }: { - xdg.configFile."hypr/hyprland.conf".text = /* bash */ '' + xdg.configFile."hypr/hyprland.conf".text = with config.lib.stylix.colors; /* bash */ '' env=XCURSOR_SIZE,24 env=BROWSER,librewolf env=GTK_IM_MODULE,fcitx @@ -35,8 +35,8 @@ gaps_in = 0 gaps_out = -1 border_size = 0 - col.active_border = rgba(f4bf75ee) rgba(fd971fee) 45deg - col.inactive_border = rgba(49483eaa) + col.active_border = rgba(${base0A}ee) rgba(${base09}ee) 45deg + col.inactive_border = rgba(${base02}aa) layout = master }