]>
git.wh0rd.org - home.git/blob - .bin/redshift-check
5 Usage: ${0##*/} [options]
8 --reset reset display to no redshift
11 if [[ $# -eq 0 ]] ; then
14 printf '\nERROR: %s\n' "$*" >&2
23 while [[ $# -gt 0 ]] ; do
25 --reset) exec redshift
-x ;;
27 *) usage
"Unknown option: $1" ;;
52 if [[ -z ${t} ]]; then
55 exec redshift
-O ${t}k