From 5575b88d6daf8b9721907ecbca82a5f5536d35fa Mon Sep 17 00:00:00 2001 From: eveeifyeve <88671402+Eveeifyeve@users.noreply.github.com> Date: Thu, 15 May 2025 23:30:53 +1000 Subject: [PATCH] river: leverage config.lib.stylix.mkOpacityHexColor --- modules/river/hm.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/modules/river/hm.nix b/modules/river/hm.nix index d202fb5c..a89bd336 100644 --- a/modules/river/hm.nix +++ b/modules/river/hm.nix @@ -6,14 +6,14 @@ config = lib.mkIf (config.stylix.enable && config.stylix.targets.river.enable) { wayland.windowManager.river.settings = let - inherit (config.lib.stylix) colors; + inherit (config.lib.stylix) colors mkHexColor; inherit (config.stylix) cursor; in { - border-color-focused = "0x${colors.base0D}"; - border-color-unfocused = "0x${colors.base03}"; - border-color-urgent = "0x${colors.base08}"; - background-color = "0x${colors.base00}"; + border-color-focused = mkHexColor colors.base0D; + border-color-unfocused = mkHexColor colors.base03; + border-color-urgent = mkHexColor colors.base08; + background-color = mkHexColor colors.base00; xcursor-theme = lib.mkIf ( config.stylix.cursor != null ) "${cursor.name} ${toString cursor.size}";