mirror of
https://github.com/szymon-jozef/superior_dotfiles.git
synced 2026-09-07 12:10:38 +02:00
Add .local/bin/brightness.sh
This commit is contained in:
9
private_dot_local/bin/executable_brightness.sh
Normal file
9
private_dot_local/bin/executable_brightness.sh
Normal file
@@ -0,0 +1,9 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user