From 8ab0972188bdef0b1f633363f1fcdafb01937e3d Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Sat, 12 Dec 2015 15:37:56 +0100 Subject: [PATCH 1/1] Add redshift to xinitrc. --- dotfiles/user/thinkpad/xinitrc | 3 +++ jessie_postinstall.sh | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/dotfiles/user/thinkpad/xinitrc b/dotfiles/user/thinkpad/xinitrc index 250994f..67992d4 100644 --- a/dotfiles/user/thinkpad/xinitrc +++ b/dotfiles/user/thinkpad/xinitrc @@ -5,3 +5,6 @@ setxkbmap de # Launch window manager. i3 + +# Run redshift for Berlin, Germany. +redshift -l 53:13 diff --git a/jessie_postinstall.sh b/jessie_postinstall.sh index 244bf75..8d5d5c1 100755 --- a/jessie_postinstall.sh +++ b/jessie_postinstall.sh @@ -199,8 +199,8 @@ elif [ "$1" = "thinkpad" ]; then amixer -c 1 sset Master playback 100% unmute fi - # Set up window system and OpenGL. - apt-get -y install xserver-xorg xinit xterm i3 i3status dmenu + # Set up window system, i3, redshift. + apt-get -y install xserver-xorg xinit xterm i3 i3status dmenu redshift # Set up OpenGL and hardware acceleration. apt-get -y install libgl1-mesa-dri -- 2.30.2