sway idle.yaml simplified
This commit is contained in:
+3
-7
@@ -9,18 +9,14 @@ timeouts:
|
||||
# locking_timeout
|
||||
- timeout: 1200
|
||||
command: swaymsg exec \$locking
|
||||
# keyboard_timeout
|
||||
- timeout: 1200
|
||||
command: /usr/share/sway/scripts/keyboard-backlight-switch.sh off
|
||||
resume: /usr/share/sway/scripts/keyboard-backlight-switch.sh on
|
||||
# screen_timeout
|
||||
- timeout: 2400
|
||||
command: swaymsg "output * power off"
|
||||
resume: swaymsg "output * power on"
|
||||
# dpms_timeout
|
||||
- timeout: 2400
|
||||
command: swaymsg "output * dpms off"
|
||||
resume: swaymsg "output * dpms on"
|
||||
# - timeout: 3600
|
||||
# command: swaymsg "output * dpms off"
|
||||
# resume: swaymsg "output * dpms on"
|
||||
# sleep_timeout_bat
|
||||
# - timeout: 900
|
||||
# command: acpi --ac-adapter | grep -v 'on-line' && systemctl sleep
|
||||
|
||||
Reference in New Issue
Block a user