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/gamma.sh | |
parent | 26d3e9c0db0b8591eba24de5437b3c75d9995064 (diff) |
fixed scripts
Diffstat (limited to 'scripts/.scripts/gamma.sh')
-rwxr-xr-x | scripts/.scripts/gamma.sh | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/scripts/.scripts/gamma.sh b/scripts/.scripts/gamma.sh deleted file mode 100755 index 0117dd5..0000000 --- a/scripts/.scripts/gamma.sh +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/bash -MAIN_DP=DP-2; - -v=$1 - -if [ $# -ne 0 ]; then - xrandr --output $MAIN_DP --gamma $(paste -d" " <(xrandr | grep " connected" | cut -f1 -d " ") <(xrandr --current --verbose | grep "Gamma" | cut -f7 -d" " | cut -f1 -d":" | xargs -I % echo "1/%") | grep $MAIN_DP | cut -d" " -f2 | xargs -I % echo "%*$v" | bc -l) -else - xrandr --output $MAIN_DP --gamma 1.3 -fi |