mirror of
https://github.com/szymon-jozef/amazing-dotfiles.git
synced 2026-09-07 20:20:43 +02:00
scripts
This commit is contained in:
9
scripts/old/brightness.sh
Executable file
9
scripts/old/brightness.sh
Executable 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