feat: a buch of config
This commit is contained in:
parent
7c64f4089f
commit
6b5f851e65
12 changed files with 48 additions and 882 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue