diff options
author | Toby Vincent <tobyv@tobyvin.dev> | 2024-02-08 14:25:33 -0600 |
---|---|---|
committer | Toby Vincent <tobyv@tobyvin.dev> | 2024-02-08 14:25:33 -0600 |
commit | 1823aaee572aa73a278bed7d1d214738b906de60 (patch) | |
tree | a232ec7bea0b0312d4edd0a1d92775a956f24548 /dunst/.config | |
parent | 080f677d4aa250c09d8cc81bc6d111361ad3c653 (diff) |
feat(dunst): pause dunst when idle
Diffstat (limited to 'dunst/.config')
-rw-r--r-- | dunst/.config/systemd/user/dunst-pause.service | 13 |
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 |