5 Usage: ${0##*/} [options]
8 -x, --reset reset display to no redshift
11 if [[ $# -eq 0 ]] ; then
14 printf '\nERROR: %s\n' "$*" >&2
20 exec redshift -m randr "$@"
27 local auth="${HOME}/.Xauthority"
28 if [[ -e ${auth} ]]; then
29 export XAUTHORITY=${auth}
32 while [[ $# -gt 0 ]] ; do
36 *) usage "Unknown option: $1" ;;
45 [20]=$(( min + 2000 ))
46 [21]=$(( min + 1500 ))
47 [22]=$(( min + 1000 ))
56 [07]=$(( min + 1000 ))
57 [08]=$(( min + 1500 ))
58 [09]=$(( min + 2000 ))
62 if [[ -z ${t} ]]; then