about summary refs log tree commit diff
path: root/users/fcuny
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--users/fcuny/desktop/wm/notification.nix21
1 files changed, 16 insertions, 5 deletions
diff --git a/users/fcuny/desktop/wm/notification.nix b/users/fcuny/desktop/wm/notification.nix
index 39d3fa8..c0b0415 100644
--- a/users/fcuny/desktop/wm/notification.nix
+++ b/users/fcuny/desktop/wm/notification.nix
@@ -5,11 +5,22 @@
     pkgs.libnotify # to send notifications
   ];
 
-  programs = {
-    mako = {
-      enable = true;
-      markup = true;
-      actions = true;
+  systemd.user.services.mako = {
+    Service = {
+      ExecStart = "${pkgs.mako}/bin/mako";
     };
+    Install = {
+      WantedBy = [ "sway-session.target" ];
+    };
+  };
+
+  programs.mako = {
+    enable = true;
+    layer = "overlay";
+    defaultTimeout = 300;
+    maxVisible = 10;
+    maxIconSize = 24;
+    markup = true;
+    actions = true;
   };
 }