summary refs log tree commit diff
path: root/xsession
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-x[-rw-r--r--]xsession9
1 files changed, 9 insertions, 0 deletions
diff --git a/xsession b/xsession
index 3988e83..8c3d6ef 100644..100755
--- a/xsession
+++ b/xsession
@@ -1,3 +1,12 @@
+#!/usr/bin/bash
+
+xrdb $HOME/.Xresources
+
+# Run redshift, but don’t fail if it’s not (yet) available
+if command -V redshift >/dev/null 2>&1; then
+	redshift -m randr -l 47.31:8.50 -t 6000:5300 -b 0.8 &
+fi
+
 # set the background to something less aggressive than black
 xsetroot -solid "#333333" -cursor_name left_ptr