Suspend dunst notifications in presentatio mode, lock

This commit is contained in:
2020-02-23 13:59:52 +01:00
parent fb73195116
commit 96fb0c224d
2 changed files with 6 additions and 2 deletions

View File

@@ -47,9 +47,11 @@ reset_screen() {
lock_and_screen_off() {
lock &
_pid=$!
systemctl --user --no-block kill --signal SIGUSR1 dunst_user
screen_off
xset dpms 0 0 5
wait $_pid
systemctl --user --no-block kill --signal SIGUSR2 dunst_user
reset_screen
}