dotfiles/home/.config/systemd/user/swaync-inhibit-lock.service

14 lines
293 B
SYSTEMD
Raw Normal View History

2024-12-22 03:58:13 +01:00
[Unit]
Description=Inhibit swaync notifications on lock dbus event (using systemd-lock-handler)
Requisite=swaync.service
Before=lock.target
[Service]
Type=oneshot
2025-02-24 22:27:49 +01:00
ExecStart=/usr/bin/swaync-client --inhibitor-add screen-locker
Slice=background-graphical.slice
2024-12-22 03:58:13 +01:00
[Install]
WantedBy=lock.target
2025-02-24 22:27:49 +01:00