diff options
author | davidovski <david@davidovski.xyz> | 2021-10-09 22:58:10 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2021-10-09 22:58:10 +0100 |
commit | 49fff5a029e08f31941c75c19a72d7e7eb1ed172 (patch) | |
tree | 9cab74542e7302f47a9b8efbe5b1c674f9eb2150 /scripts/.scripts/cinema.sh | |
parent | 26d3e9c0db0b8591eba24de5437b3c75d9995064 (diff) |
fixed scripts
Diffstat (limited to 'scripts/.scripts/cinema.sh')
-rwxr-xr-x | scripts/.scripts/cinema.sh | 3 |
1 files changed, 0 insertions, 3 deletions
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 |