From 67aa7a029193a9ae41ffa47198b6c44647af19cc Mon Sep 17 00:00:00 2001 From: Dmitry Voronin Date: Sat, 2 Nov 2024 20:17:34 +0300 Subject: [PATCH] Mako: Try to make notifications more visible. --- home/config/mako/default.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/home/config/mako/default.nix b/home/config/mako/default.nix index 9daa7cef..72d7ac20 100644 --- a/home/config/mako/default.nix +++ b/home/config/mako/default.nix @@ -4,10 +4,12 @@ let in { file = (pkgs.formats.iniWithGlobalSection { }).generate "MakoConfig" { - globalSection = { + globalSection = let + color = config.style.color; + in { anchor = "top-center"; - background-color = "#${config.style.color.bg.dark}${alpha}"; - border-color = "#${config.style.color.border}${alpha}"; + background-color = "#${color.hl}${alpha}"; + border-color = "#${color.border}${alpha}"; default-timeout = 10000; font = "${config.style.font.serif.name} ${toString config.style.font.size.popup}"; height = 120;