aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/dot_config/systemd/user/mako.service
diff options
context:
space:
mode:
Diffstat (limited to 'dot_config/systemd/user/mako.service')
-rw-r--r--dot_config/systemd/user/mako.service17
1 files changed, 17 insertions, 0 deletions
diff --git a/dot_config/systemd/user/mako.service b/dot_config/systemd/user/mako.service
new file mode 100644
index 0000000..caa256d
--- /dev/null
+++ b/dot_config/systemd/user/mako.service
@@ -0,0 +1,17 @@
+[Unit]
+Description=Lightweight notification daemon for Wayland
+Documentation=man:mako(1)
+PartOf=graphical-session.target
+After=graphical-session.target
+ConditionEnvironment=WAYLAND_DISPLAY
+
+[Service]
+Type=dbus
+BusName=org.freedesktop.Notifications
+ExecStart=%h/.nix-profile/bin/mako
+ExecReload=%h/.nix-profile/bin/makoctl reload
+Restart=on-failure
+RestartSec=2s
+
+[Install]
+WantedBy=sway-session.target