Skip to content

Instantly share code, notes, and snippets.

@hrj hrj/
Created Sep 14, 2013

What would you like to do?
Script to add red tint to the entire screen.
# Call with a percentage value from 0 to 100
# 0 means only red, 50 means half of green and blue is shown through
# if you don't give any arguments the calibration is cleared
if [[ -z "$1" ]]; then
echo Clearing all calibrations
xcalib -clear
echo Setting FILTER to $FILTER
xcalib -clear && xcalib -green 1 1 $FILTER -blue 1 1 $FILTER -alter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.