homemade redshift

This commit is contained in:
Adrian Amaglio 2023-01-24 23:57:03 +01:00
parent 679a0ff8ce
commit 8f85680a53

8
redshift.sh Executable file
View File

@ -0,0 +1,8 @@
#!/bin/bash
if [ "$#" -ne 1 ] ; then
echo "Usage : $0 +/-" >&2
exit 1
fi
xrandr --output "$(xrandr --listactivemonitors | grep -o '[[a-zA-Z0-9\-]\{2,\}$' -m 1)" --gamma 1:0.3:0.3 --brightness 1.3