
Make dunst part of graphical-session.target, so that it exits immediately when the session exits.
14 lines
230 B
SYSTEMD
14 lines
230 B
SYSTEMD
[Unit]
|
|
Description=Dunst notification daemon
|
|
Documentation=man:dunst(1)
|
|
PartOf=graphical-session.target
|
|
|
|
[Service]
|
|
Type=dbus
|
|
BusName=org.freedesktop.Notifications
|
|
ExecStart=##PREFIX##/bin/dunst
|
|
|
|
[Install]
|
|
WantedBy=default.target
|
|
|