summaryrefslogtreecommitdiff
path: root/scripts/gamma.sh
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2024-05-04 01:15:19 +0100
committerdavidovski <david@davidovski.xyz>2024-05-04 01:15:19 +0100
commit416cb1a8dd5bf3ed6f426048843c95c2e2550f27 (patch)
tree023a75cf0b5926fa25c62f6be923e589bfab0d57 /scripts/gamma.sh
parent2596f818e085ed724597ecb0028ec2536392203b (diff)
add more transparency
Diffstat (limited to 'scripts/gamma.sh')
-rwxr-xr-xscripts/gamma.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/gamma.sh b/scripts/gamma.sh
index 8de1b80..0f39291 100755
--- a/scripts/gamma.sh
+++ b/scripts/gamma.sh
@@ -6,5 +6,5 @@ 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.1
+ xrandr --output $MAIN_DP --gamma 1
fi