mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2024-11-10 02:39:40 +00:00
Pause notifications before sleep & unpause on unlock
This commit is contained in:
parent
e8136e9666
commit
3c29dab3c5
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue