Enabled swayidle again
This commit is contained in:
@@ -68,17 +68,17 @@ exec_always wlsunset -lsd 47.6, -122.3 -t 3200 -T 6500
|
||||
# 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.
|
||||
# exec swayidle -w \
|
||||
# timeout 600 'swaylock -f' \
|
||||
# timeout 1200 'swaymsg "output * dpms off"' \
|
||||
# resume 'swaymsg "output * dpms on"' \
|
||||
# timeout
|
||||
# before-sleep 'swaylock -f'
|
||||
exec swayidle -w \
|
||||
timeout 300 'swaylock -f' \
|
||||
timeout 1200 'swaymsg "output * dpms off"' \
|
||||
resume 'swaymsg "output * dpms on"' \
|
||||
timeout \
|
||||
before-sleep 'swaylock -f'
|
||||
|
||||
# Exit sway (logs you out of your Wayland session)
|
||||
bindsym $mod+Shift+e exec swaynag -t custom -m 'Do you wish to fully reload your Sway session?' -b 'Yes' 'swaymsg exit'
|
||||
# Turn the system off
|
||||
bindsym $mod+Shift+p exec swaynag -t custom -m 'What action would you like to perform?' -b 'Shutdown' 'poweroff' -b 'Restart' 'poweroff --reboot'
|
||||
bindsym $mod+Shift+p exec swaynag -t custom -m 'What action would you like to perform?' -b 'Shutdown' 'poweroff' -b 'Restart' 'poweroff --reboot' -b 'Suspend' 'systemctl suspend'
|
||||
|
||||
### Input configuration
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user