mirror of
https://github.com/szymon-jozef/superior_dotfiles.git
synced 2026-09-07 20:20:38 +02:00
10 lines
242 B
Bash
10 lines
242 B
Bash
#!/usr/bin/bash
|
|
|
|
if [[ $1 == "up" ]]; then
|
|
ddcutil -d 1 setvcp 10 100 && ddcutil -d 2 setvcp 10 100
|
|
elif [[ $1 == "down" ]]; then
|
|
ddcutil -d 1 setvcp 10 30 && ddcutil -d 2 setvcp 10 0
|
|
else
|
|
echo "Usage: brightness.sh [up/down]"
|
|
fi
|