diff options
author | Franck Cuny <franck@fcuny.net> | 2022-03-12 19:45:27 -0800 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2022-03-12 19:45:27 -0800 |
commit | 5db11f73ba835872704ea2d2a612357a1da418cf (patch) | |
tree | 4fbfb17464e052a8c7c1dc4e924ffbfc7d63027c | |
parent | devel: add more packages (diff) | |
download | world-5db11f73ba835872704ea2d2a612357a1da418cf.tar.gz |
notification: fix timeout and document
-rw-r--r-- | users/fcuny/desktop/wm/notification.nix | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/users/fcuny/desktop/wm/notification.nix b/users/fcuny/desktop/wm/notification.nix index c0b0415..ad801c1 100644 --- a/users/fcuny/desktop/wm/notification.nix +++ b/users/fcuny/desktop/wm/notification.nix @@ -6,20 +6,20 @@ ]; systemd.user.services.mako = { - Service = { - ExecStart = "${pkgs.mako}/bin/mako"; - }; - Install = { - WantedBy = [ "sway-session.target" ]; - }; + Service = { ExecStart = "${pkgs.mako}/bin/mako"; }; + Install = { WantedBy = [ "sway-session.target" ]; }; }; + # All the options are documented via `man 5 mako` programs.mako = { enable = true; layer = "overlay"; - defaultTimeout = 300; - maxVisible = 10; + # The timeout value is in millisecond + defaultTimeout = 30000; + # The maximum number of notifications + maxVisible = 3; maxIconSize = 24; + # Enable pango markup (see https://docs.gtk.org/Pango/pango_markup.html) markup = true; actions = true; }; |