Added timed screen locking
This commit is contained in:
parent
f4c2f64a81
commit
6cc60de242
|
@ -36,15 +36,13 @@ output * bg ~/Documents/Images/Posters/FuegoMilkyWay.jpg fill
|
||||||
# You can get the names of your outputs by running: swaymsg -t get_outputs
|
# You can get the names of your outputs by running: swaymsg -t get_outputs
|
||||||
|
|
||||||
### Idle configuration
|
### Idle configuration
|
||||||
#
|
|
||||||
# Example configuration:
|
exec swayidle -w \
|
||||||
#
|
timeout 300 'swaylock -f -c 000000' \
|
||||||
# exec swayidle -w \
|
timeout 600 'swaymsg "output * dpms off"' \
|
||||||
# timeout 300 'swaylock -f -c 000000' \
|
resume 'swaymsg "output * dpms on"' \
|
||||||
# timeout 600 'swaymsg "output * dpms off"' \
|
before-sleep 'swaylock -f -c 000000'
|
||||||
# resume 'swaymsg "output * dpms on"' \
|
|
||||||
# before-sleep 'swaylock -f -c 000000'
|
|
||||||
#
|
|
||||||
# This will lock your screen after 300 seconds of inactivity, then turn off
|
# This will lock your screen after 300 seconds of inactivity, then turn off
|
||||||
# your displays after another 300 seconds, and turn your screens back on when
|
# your displays after another 300 seconds, and turn your screens back on when
|
||||||
# resumed. It will also lock your screen before your computer goes to sleep.
|
# resumed. It will also lock your screen before your computer goes to sleep.
|
||||||
|
|
Loading…
Reference in a new issue