summary refs log tree commit diff
path: root/xsession
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2020-09-12 14:18:18 -0700
committerFranck Cuny <franck@fcuny.net>2020-09-12 14:18:18 -0700
commit7b361f9d7efc05520bb5c956306280342a10006e (patch)
tree1eba8b68375444b455bec23b422eaa0898f53909 /xsession
parentlinux: new resource files for linux (diff)
downloademacs.d-7b361f9d7efc05520bb5c956306280342a10006e.tar.gz
linux: a few more configs
Update Xresources with a few more things related to urxvt and font
rendering.

Update the xsession script to add redshift and load explicitly the
content of Xresources.
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