petits-scripts-persos/redshift.sh
2023-01-24 23:57:03 +01:00

9 lines
200 B
Bash
Executable File

#!/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