From 49fff5a029e08f31941c75c19a72d7e7eb1ed172 Mon Sep 17 00:00:00 2001 From: davidovski Date: Sat, 9 Oct 2021 22:58:10 +0100 Subject: fixed scripts --- scripts/.scripts/cinema.sh | 3 --- 1 file changed, 3 deletions(-) delete mode 100755 scripts/.scripts/cinema.sh (limited to 'scripts/.scripts/cinema.sh') diff --git a/scripts/.scripts/cinema.sh b/scripts/.scripts/cinema.sh deleted file mode 100755 index c453260..0000000 --- a/scripts/.scripts/cinema.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh -MAIN_DP=DP-2; -v=$(xrandr --current --verbose | grep "Brightness" | cut -f2 -d " " | tr '\n' '*' | rev | cut -c 2- | rev | sed -e "s/$/==1/" | bc -l | grep -q 0 && echo 1 || echo 0); xrandr | grep " connected" | cut -f1 -d " " | while read -r line; do echo $line | grep -q $MAIN_DP && : || xrandr --output $line --brightness $v; done -- cgit v1.2.1