From fc1dfde9f712d8c60358f32daec2ccec5ba0da5a Mon Sep 17 00:00:00 2001 From: Dmitry Voronin Date: Sun, 23 Jun 2024 03:04:15 +0300 Subject: [PATCH] Fuzzel : Better text. --- user/common/fuzzel/default.nix | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/user/common/fuzzel/default.nix b/user/common/fuzzel/default.nix index 5cae00c0..d08d2280 100644 --- a/user/common/fuzzel/default.nix +++ b/user/common/fuzzel/default.nix @@ -16,14 +16,16 @@ in { radius = 0; width = 1; }; - colors = { - background = style.color.bg.dark + style.opacity.hex; - border = style.color.border + style.opacity.hex; - match = style.color.fg.light + style.opacity.hex; - selection = style.color.bg.light + style.opacity.hex; - selection-match = style.color.fg.dark + style.opacity.hex; - selection-text = style.color.fg.dark + style.opacity.hex; - text = style.color.fg.light + style.opacity.hex; + colors = let + defaultOpacity = "ff"; + in { + background = style.color.bg.dark + style.opacity.hex; + border = style.color.border + style.opacity.hex; + match = style.color.fg.light + defaultOpacity; + selection = style.color.bg.dark + defaultOpacity; + selection-match = style.color.accent + defaultOpacity; + selection-text = style.color.fg.light + defaultOpacity; + text = style.color.fg.light + defaultOpacity; }; }; }