From 92cdd73bc91e05562c0b61c4911f276df4c5e438 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Mon, 25 Mar 2013 15:39:42 +0100 Subject: [PATCH] xinitrc: Use redshift to change the display's color temperature. --- xinitrc | 5 +++++ 1 file changed, 5 insertions(+) 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) & -- 2.45.2