diff --git a/bin/set-ddc-light b/bin/set-ddc-light deleted file mode 100755 index 43c5872..0000000 --- a/bin/set-ddc-light +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/bash -set -e - -command -v sudo > /dev/null && exec SUDO='sudo' -command -v doas > /dev/null && exec SUDO='doas' - -CUR_LIGHT="$(set-light "$@")" - -SCREENS="$($SUDO ddcutil detect | awk '$1 == "Display" {print $2}')" - -for i in $SCREENS; do - $SUDO ddcutil -d "$i" setvcp 10 "$CUR_LIGHT" -done