dotfiles/home/.config/systemd/user/swaync-inhibit-lock.service
2025-02-24 22:27:49 +01:00

13 lines
293 B
Desktop File

[Unit]
Description=Inhibit swaync notifications on lock dbus event (using systemd-lock-handler)
Requisite=swaync.service
Before=lock.target
[Service]
Type=oneshot
ExecStart=/usr/bin/swaync-client --inhibitor-add screen-locker
Slice=background-graphical.slice
[Install]
WantedBy=lock.target