From 92392ee2c2188a5fc2d2f2f8c5221bf0f43374e6 Mon Sep 17 00:00:00 2001 From: sefidel Date: Sat, 10 Aug 2024 15:28:03 +0900 Subject: feat(home/gui): replace dunst with mako --- home/profiles/gui/config/mako.nix | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) (limited to 'home/profiles/gui/config/mako.nix') diff --git a/home/profiles/gui/config/mako.nix b/home/profiles/gui/config/mako.nix index 041ee36..d9a6022 100644 --- a/home/profiles/gui/config/mako.nix +++ b/home/profiles/gui/config/mako.nix @@ -6,5 +6,34 @@ let guiCfg = config.profiles.gui; in { + anchor = "top-right"; + width = 330; + padding = "8"; + margin = "16,8"; + borderRadius = 10; + borderSize = 2; + borderColor = "#${color3}"; + backgroundColor = "#${background}"; + textColor = "#${foreground}"; + progressColor = "over #${color5}"; + + markup = true; + font = "${guiCfg.font.name} ${toString guiCfg.font.size}"; + + maxVisible = 5; + + extraConfig = '' + [urgency=low] + border-color=#${color4} + default-timeout=4000 + + [urgency=normal] + border-color=#${color3} + default-timeout=8000 + + [urgency=critical] + border-color=#${color1} + default-timeout=0 + ''; } -- cgit 1.4.1