aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/dunst/.config
diff options
context:
space:
mode:
Diffstat (limited to 'dunst/.config')
-rw-r--r--dunst/.config/systemd/user/dunst-pause.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/dunst/.config/systemd/user/dunst-pause.service b/dunst/.config/systemd/user/dunst-pause.service
new file mode 100644
index 0000000..5d0b788
--- /dev/null
+++ b/dunst/.config/systemd/user/dunst-pause.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=Pause dunst service
+PartOf=lock.target
+Before=lock.target
+
+[Service]
+Type=oneshot
+ExecStart=/usr/bin/dunstctl set-paused true
+ExecStop=/usr/bin/dunstctl set-paused false
+RemainAfterExit=yes
+
+[Install]
+WantedBy=lock.target