aboutsummaryrefslogtreecommitdiffstats
path: root/systemd/system-user/mako.service
diff options
context:
space:
mode:
Diffstat (limited to 'systemd/system-user/mako.service')
-rw-r--r--systemd/system-user/mako.service16
1 files changed, 16 insertions, 0 deletions
diff --git a/systemd/system-user/mako.service b/systemd/system-user/mako.service
new file mode 100644
index 0000000..0afbfb9
--- /dev/null
+++ b/systemd/system-user/mako.service
@@ -0,0 +1,16 @@
+[Unit]
+Description=Lightweight Wayland notification daemon
+Documentation=man:mako(1)
+PartOf=graphical-session.target
+After=graphical-session.target
+
+[Service]
+Type=dbus
+BusName=org.freedesktop.Notifications
+ExecCondition=/bin/sh -c '[ -n "$WAYLAND_DISPLAY" ]'
+ExecStart=/usr/bin/mako
+ExecReload=/usr/bin/makoctl reload
+
+[Install]
+WantedBy=sway-session.target
+