From: Simon Ruderich Date: Mon, 25 Mar 2013 14:39:42 +0000 (+0100) Subject: xinitrc: Use redshift to change the display's color temperature. X-Git-Url: https://ruderich.org/simon/gitweb/?p=config%2Fdotfiles.git;a=commitdiff_plain;h=92cdd73bc91e05562c0b61c4911f276df4c5e438 xinitrc: Use redshift to change the display's color temperature. --- diff --git a/xinitrc b/xinitrc index 31a49ce..3bf6747 100755 --- a/xinitrc +++ b/xinitrc @@ -77,6 +77,11 @@ if installed remind && test -f "$HOME/.reminders"; then remind -z1 -k'.shell/bin/notify.py %s &' "$HOME/.reminders" & fi +# Set color temperature of display according to time of day. +if installed redshift; then + redshift -l 49.9:10.9 -t 5500:4500 & +fi + # XMonad doesn't start a shell on its own, start one when I login. (urxvt || rxvt || xterm) &