home | swayidle as a service did not work

This commit is contained in:
Don Harper 2024-04-28 09:19:54 -05:00
parent 210c7b020b
commit d39ef376b3
2 changed files with 6 additions and 20 deletions

View file

@ -4,11 +4,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