From f4b2b6b5869e3255d18ea3fa222f384aec31d80b Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Thu, 7 Dec 2023 19:12:08 -0500 Subject: [PATCH] ironbar: Manually set opacity Fixes an issue where nix would show a warning about floatToString being used. --- home/ironbar.nix | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/home/ironbar.nix b/home/ironbar.nix index 2b34f529..f67241ae 100644 --- a/home/ironbar.nix +++ b/home/ironbar.nix @@ -1,8 +1,5 @@ -{ config, lib, ... }: +{ config, ... }: -let - opacity = lib.strings.floatToString (config.stylix.opacity.terminal - 0.025); -in { xdg.configFile."ironbar/config.json".text = /* json */ '' { @@ -63,7 +60,7 @@ in } .background { - background: alpha(#${base00}, ${opacity}); + background: alpha(#${base00}, 0.925); } .clipboard {