Explain use

This commit is contained in:
David Heinemeier Hansson
2025-06-23 11:27:35 -04:00
parent d43639df15
commit 3b04123104

View File

@ -1,3 +1,7 @@
#!/bin/bash
if [[ -z "$1" ]]; then
echo "Adjust Apple Display Brightness by passing +5000 or -5000 (or any range from 0-60000)"
else
sudo asdcontrol $(sudo asdcontrol --detect /dev/usb/hiddev* | grep ^/dev/usb/hiddev | cut -d: -f1) -- "$1"
fi