added idle_inhibitor to waybar

This commit is contained in:
opalvault
2022-01-30 22:29:47 -08:00
parent 4619b45675
commit e6dbee427b
3 changed files with 26 additions and 14 deletions
+4 -2
View File
@@ -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)