Simplify but letting omarchy-system-lock be responsible for turning off display and keyboard brightness

This commit is contained in:
David Heinemeier Hansson
2026-05-06 11:40:34 +02:00
parent dd46e965d8
commit ca74b4d1c5
5 changed files with 14 additions and 24 deletions
+10
View File
@@ -0,0 +1,10 @@
#!/bin/bash
# omarchy:summary=Wake displays and restore brightness after idle
# omarchy:group=system
# omarchy:name=wake
# omarchy:examples=omarchy system wake
hyprctl dispatch dpms on >/dev/null 2>&1
brightnessctl -r >/dev/null 2>&1
brightnessctl -rd '*::kbd_backlight' >/dev/null 2>&1