*
*
This commit is contained in:
@ -2,9 +2,12 @@
|
||||
if [[ -z "$1" ]]; then
|
||||
swayidle -w \
|
||||
timeout 310 'swaylock' \
|
||||
timeout 300 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \
|
||||
before-sleep "swaylock"
|
||||
timeout 360 "wlopm --off '*'" resume "wlopm --on '*'" \
|
||||
before-sleep "swaylock"
|
||||
fi
|
||||
|
||||
#timeout 300 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \
|
||||
|
||||
if [[ $1 == "-k" ]]; then
|
||||
killall swayidle
|
||||
exit 0
|
||||
|
Reference in New Issue
Block a user