]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
xinitrc: Use redshift to change the display's color temperature.
authorSimon Ruderich <simon@ruderich.org>
Mon, 25 Mar 2013 14:39:42 +0000 (15:39 +0100)
committerSimon Ruderich <simon@ruderich.org>
Mon, 25 Mar 2013 14:39:42 +0000 (15:39 +0100)
xinitrc

diff --git a/xinitrc b/xinitrc
index 31a49ce6f808f14fafd64f80a2b518778fc67d67..3bf6747d7b8846279e88f3a3e796e24f4270971d 100755 (executable)
--- 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) &