This commit is contained in:
Daniel Meiburg 2023-10-18 00:56:28 +02:00
parent ffbac0e7b4
commit 71f13cbf93
1 changed files with 4 additions and 4 deletions

View File

@ -38,10 +38,10 @@ output "*" bg ~/.config/sway/wallpaper.jpg fill
# #
# Example configuration: # Example configuration:
# #
exec swayidle -w \ #exec swayidle -w \
timeout 300 'swaylock -f -c 000000' \ # timeout 300 'swaylock -f -c 000000' \
timeout 600 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \ # timeout 600 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \
before-sleep 'swaylock -f -c 000000' # 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