2023-05-11 20:57:34 +00:00
|
|
|
### Idle configuration
|
|
|
|
#
|
|
|
|
# Example configuration:
|
|
|
|
#
|
|
|
|
exec swayidle -w \
|
2023-11-10 08:21:32 +00:00
|
|
|
before-sleep 'swaylock -f -c 000000 -i $HOME/Bilder/wallpaper/undertale_sans-wallpaper-2048x1152.jpg'
|
|
|
|
# timeout 300 'swaylock -f -c 000000 -i $HOME/Bilder/wallpaper/undertale_sans-wallpaper-2048x1152.jpg' \
|
|
|
|
# timeout 600 'swaymsg "output * power off"' resume 'swaymsg "output * power on"'
|
2023-05-11 20:57:34 +00:00
|
|
|
#
|
|
|
|
# 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
|
|
|
|
# resumed. It will also lock your screen before your computer goes to sleep.
|