feat: a buch of config

This commit is contained in:
angeD 2022-06-16 21:23:04 +02:00
parent 7c64f4089f
commit 6b5f851e65
12 changed files with 48 additions and 882 deletions

View file

@ -1,10 +1,10 @@
#!/usr/bin/bash
set -e
CUR_LIGHT="$("$(dirname "$0")"/set-light "$@")"
CUR_LIGHT="$(set-light "$@")"
SCREENS="$(ddcutil detect | awk '$1 == "Display" {print $2}')"
SCREENS="$(sudo ddcutil detect | awk '$1 == "Display" {print $2}')"
for i in $SCREENS; do
ddcutil -d "$i" setvcp 10 "$CUR_LIGHT"
sudo ddcutil -d "$i" setvcp 10 "$CUR_LIGHT"
done