Files
superior_dotfiles/private_dot_local/bin/executable_brightness.sh
2025-04-30 19:29:16 +02:00

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