move swayidle to service
This commit is contained in:
parent
738ff957d9
commit
7296bfcd94
1 changed files with 5 additions and 5 deletions
|
|
@ -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 /home/don/bin/lock.sh
|
||||||
#set $lock 'swaylock -f -c 000000'
|
#set $lock 'swaylock -f -c 000000'
|
||||||
exec swayidle -w \
|
#exec swayidle -w \
|
||||||
timeout 300 $lock \
|
# timeout 300 $lock \
|
||||||
timeout 360 'swaymsg "output * dpms off"' \
|
# timeout 360 'swaymsg "output * dpms off"' \
|
||||||
resume 'swaymsg "output * dpms on"' \
|
# resume 'swaymsg "output * dpms on"' \
|
||||||
before-sleep $lock
|
# before-sleep $lock
|
||||||
|
|
||||||
floating_modifier $mod
|
floating_modifier $mod
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue