added idle_inhibitor to waybar
This commit is contained in:
+4
-2
@@ -62,13 +62,15 @@ exec hash dbus-update-activation-environment 2>/dev/null && \
|
||||
# Wlsunset (Night Light)
|
||||
exec_always wlsunset -lsd 47.6, -122.3 -t 3200 -T 6500
|
||||
|
||||
### Idle configuration
|
||||
# Idle configuration
|
||||
# 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 1800 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \
|
||||
# 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)
|
||||
|
||||
Reference in New Issue
Block a user