Pause notifications before sleep & unpause on unlock

This commit is contained in:
ItsDrike 2024-03-14 01:05:09 +01:00
parent e8136e9666
commit 3c29dab3c5
Signed by: ItsDrike
GPG key ID: FA2745890B7048C0

View file

@ -1,10 +1,8 @@
general {
#lock_cmd = hyprlock # handled by systemd-lock-handler
unlock-cmd = killall -s SIGUSR1 hyprlock # same as above, but unlock
before_sleep_cmd = loginctl lock-session && sleep 2
unlock-cmd = killall -s SIGUSR1 hyprlock && dunstctl set-paused false
before_sleep_cmd = loginctl lock-session && dunstctl set-paused true && sleep 2
ignore_dbus_inhibit = false
}