Skip to content

Commit

Permalink
rephrase swayidle-timout example to improve readability
Browse files Browse the repository at this point in the history
(cherry picked from commit 10ec97c)
  • Loading branch information
cherti authored and emersion committed Jul 15, 2020
1 parent 3d6010e commit 773e745
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions config.in
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,7 @@ output * bg @datadir@/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill
#
# exec swayidle -w \
# 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'
#
# This will lock your screen after 300 seconds of inactivity, then turn off
Expand Down

0 comments on commit 773e745

Please sign in to comment.