sway idle.yaml simplified

This commit is contained in:
Henrik Bakken
2025-05-16 22:03:24 +02:00
parent 8b8ac4889e
commit 8f69c70a25
2 changed files with 4 additions and 7 deletions
+3 -7
View File
@@ -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
+1
View File
@@ -1,3 +1,4 @@
// MAYBE add kubernetes status
{
// Basic config
"layer": "bottom",