Use a common namespace for cmds

This commit is contained in:
David Heinemeier Hansson committed 2025-07-21 18:26:09 -04:00
1 parent d1ba090bec
commit 6a3ce098e9
4 files changed
+8 -8

No files matched your search

+7
View File
@@ -0,0 +1,7 @@
#!/bin/bash
if [[ $# -eq 0 ]]; 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