Integrate Apple display brightness controls with the normal hotkeys

And add Shift + Brightness to go min/max
This commit is contained in:
David Heinemeier Hansson
2026-05-02 11:20:22 +02:00
parent 3d52764310
commit ddb8081eaa
5 changed files with 35 additions and 9 deletions
+5
View File
@@ -5,6 +5,11 @@
step="${1:-+5%}"
if omarchy-hyprland-monitor-focused-apple; then
omarchy-brightness-display-apple "$step"
exit
fi
# Start with the first possible output, then refine to the most likely given an order heuristic.
device="$(ls -1 /sys/class/backlight 2>/dev/null | head -n1)"
for candidate in amdgpu_bl* intel_backlight acpi_video*; do