home | idle changes

This commit is contained in:
Don Harper 2024-04-24 21:47:02 -05:00
parent eba03f69d2
commit a85f202eb4
3 changed files with 21 additions and 22 deletions

View file

@ -5,11 +5,11 @@ set $snd_sink alsa_output.usb-Corsair_CORSAIR_VOID_ELITE_Wireless_Gaming_Dongle-
set $lock /home/don/bin/lock.sh
#set $lock 'swaylock -f -c 000000'
exec swayidle -w \
timeout 300 $lock \
timeout 360 'swaymsg "output * dpms off"' \
resume 'swaymsg "output * dpms on"' \
before-sleep $lock
# exec swayidle -w \
# timeout 300 $lock \
# timeout 360 'swaymsg "output * dpms off"' \
# resume 'swaymsg "output * dpms on"' \
# before-sleep $lock
floating_modifier $mod