From 29faf7075156ed69578863d6987c9c9926d8029e Mon Sep 17 00:00:00 2001 From: Frantisek Bohacek Date: Sat, 3 Aug 2024 09:49:47 +0200 Subject: [PATCH] fix: mako overriding timeout --- home/modules/profiles/desktop/dwl/default.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/home/modules/profiles/desktop/dwl/default.nix b/home/modules/profiles/desktop/dwl/default.nix index 091e439..703143e 100644 --- a/home/modules/profiles/desktop/dwl/default.nix +++ b/home/modules/profiles/desktop/dwl/default.nix @@ -144,9 +144,15 @@ in { { conditions = { mode = "idle"; }; config = { + # Sadly this affects even existing notifications. + # It would be good if only those that actuallly came to + # be in this mode were colored with this border color. border-color = "#${background.secondary}FF"; ignore-timeout = 1; - default-timeout = 0; + # mako overrides already existing notifications + # if the default timeout is 0, whereas otherwise + # it will keep the current one. + default-timeout = 3 * 60 * 60 * 1000; }; } -- 2.48.1