diff options
Diffstat (limited to 'common/bin/red')
-rwxr-xr-x | common/bin/red | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/common/bin/red b/common/bin/red new file mode 100755 index 0000000..21320cf --- /dev/null +++ b/common/bin/red @@ -0,0 +1,13 @@ +#!/bin/sh + +case "$1" in + on) + redshift -PO 2500K + ;; + off) + redshift -x + ;; + *) + echo "Argument must either be 'on' or 'off'" >&2 + exit 1 +esac |