From 6b008fdd447ba2ce12af6fe39d5697155aa5a8a2 Mon Sep 17 00:00:00 2001 From: Kjetil Orbekk Date: Thu, 7 Jul 2016 23:36:33 -0400 Subject: Don't use redshift on nixos (it's managed by the system). --- xsession | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/xsession b/xsession index d5b06b4..2990af7 100755 --- a/xsession +++ b/xsession @@ -15,5 +15,6 @@ $HOME/bin/keyboard_setup.sh /usr/bin/env trayer --edge top --align right --SetDockType true --SetPartialStrut true --expand true --width 100 --widthtype pixel --transparent true --alpha 0 --tint 0x000000 --height 18 & [[ $(hostname) == kikashi ]] && \ xinput set-prop "TPPS/2 IBM TrackPoint" "Device Accel Constant Deceleration" 0.5 -redshift -l 40:-70 -r -t 5500:3700 & +[[ -f /etc/nixos/configuration.nix ]] || \ + redshift -l 40:-70 -r -t 5500:3700 & exec xmonad -- cgit v1.2.3