mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2024-12-26 05:04:34 +00:00
Pause notifications before sleep & unpause on unlock
This commit is contained in:
parent
e8136e9666
commit
3c29dab3c5
|
@ -1,10 +1,8 @@
|
||||||
|
|
||||||
|
|
||||||
general {
|
general {
|
||||||
#lock_cmd = hyprlock # handled by systemd-lock-handler
|
unlock-cmd = killall -s SIGUSR1 hyprlock && dunstctl set-paused false
|
||||||
unlock-cmd = killall -s SIGUSR1 hyprlock # same as above, but unlock
|
before_sleep_cmd = loginctl lock-session && dunstctl set-paused true && sleep 2
|
||||||
|
|
||||||
before_sleep_cmd = loginctl lock-session && sleep 2
|
|
||||||
ignore_dbus_inhibit = false
|
ignore_dbus_inhibit = false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue