This commit is contained in:
2026-01-26 17:03:18 +01:00
parent cd1b7cc874
commit 1fe5d48f1b
110 changed files with 12381 additions and 224 deletions

17
bin/mb-brightness Executable file
View File

@@ -0,0 +1,17 @@
#!/bin/bash
## mb-brightness - control brightness on Mabox
CARD=$(ls /sys/class/backlight | head -n 1)
inc() {
[[ "$CARD" == *"intel_"* ]] && xbacklight -inc 10 || light -A 5
}
dec() {
[[ "$CARD" == *"intel_"* ]] && xbacklight -dec 10 || light -U 5
}
case "$1" in
inc)inc;;
dec)dec;;
esac