From edaad0d256721bfeaebd80c94209cf930f0b65ba Mon Sep 17 00:00:00 2001 From: dish Date: Thu, 15 May 2025 02:30:36 -0400 Subject: [PATCH] [home.mako] switch to structured settings --- modules/home/services/mako/default.nix | 30 ++++++++++++++------------ 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/modules/home/services/mako/default.nix b/modules/home/services/mako/default.nix index b2d28a6c..f7dcf364 100644 --- a/modules/home/services/mako/default.nix +++ b/modules/home/services/mako/default.nix @@ -8,20 +8,22 @@ in config.catppuccin.mako.enable = false; config.services.mako = lib.mkIf cfg.enable { enable = true; - actions = true; - defaultTimeout = 10000; - font = "IBM Plex Sans 14pt"; - icons = true; - layer = "overlay"; - # Vendored Catppuccin Theme(avoids IFD) - backgroundColor = "#1e1e2e"; - textColor = "#cdd6f4"; - borderColor = "#89b4fa"; - progressColor = "over #313244"; - extraConfig = '' - [urgency=high] - border-color=#fab387 - ''; + settings = { + font = "IBM Plex Sans 14pt"; + # Vendored Catppuccin Theme(avoids IFD) + background-color = "#1e1e2e"; + text-color = "#cdd6f4"; + border-color = "#89b4fa"; + progress-color = "over #313244"; + + actions = 1; + default-timeout = 10000; + icons = 1; + layer = "overlay"; + "urgency=high" = { + border-color = "#fab387"; + }; + }; }; } -- 2.54.0