summaryrefslogtreecommitdiff
path: root/xsession
diff options
context:
space:
mode:
authorKjetil Orbekk <kjetil.orbekk@gmail.com>2016-07-07 23:36:33 -0400
committerKjetil Orbekk <kjetil.orbekk@gmail.com>2016-07-07 23:36:33 -0400
commit6b008fdd447ba2ce12af6fe39d5697155aa5a8a2 (patch)
tree955c5299512fad2171c90fadeeaaeedb50ca3144 /xsession
parentdea69c9115e0ebca6ab3485561e2ee5bf3208411 (diff)
Don't use redshift on nixos (it's managed by the system).
Diffstat (limited to 'xsession')
-rwxr-xr-xxsession3
1 files changed, 2 insertions, 1 deletions
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