Add script to disable dunst when lockscreen activates

This commit is contained in:
RealStickman 2021-06-01 13:25:53 +02:00
parent 575a3f57b4
commit 43027ace56
2 changed files with 10 additions and 1 deletions

View File

@ -0,0 +1,8 @@
#!/usr/bin/env bash
set -euo pipefail
# disable dunst
dunstctl set-paused true
# lock screen
betterlockscreen -l

View File

@ -3,7 +3,8 @@
case "$1" in
lock)
betterlockscreen -l
#betterlockscreen -l
"$HOME/.config/i3/scripts/disable-dunst.sh"
;;
logout)
i3-msg exit