Add script to disable dunst when lockscreen activates
This commit is contained in:
parent
575a3f57b4
commit
43027ace56
8
arch-config/.config/i3/scripts/disable-dunst.sh
Executable file
8
arch-config/.config/i3/scripts/disable-dunst.sh
Executable file
@ -0,0 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
# disable dunst
|
||||
dunstctl set-paused true
|
||||
|
||||
# lock screen
|
||||
betterlockscreen -l
|
@ -3,7 +3,8 @@
|
||||
|
||||
case "$1" in
|
||||
lock)
|
||||
betterlockscreen -l
|
||||
#betterlockscreen -l
|
||||
"$HOME/.config/i3/scripts/disable-dunst.sh"
|
||||
;;
|
||||
logout)
|
||||
i3-msg exit
|
||||
|
Loading…
Reference in New Issue
Block a user