From 70f5d2993c1f7049d0dbdf84e77f303dbe313e66 Mon Sep 17 00:00:00 2001 From: AngeD Date: Tue, 10 Jan 2023 09:50:36 +0100 Subject: [PATCH] feat: remove unused set-ddc-light --- bin/set-ddc-light | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100755 bin/set-ddc-light 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