Allow .Xdefaults.local to be included, don\'t rely on system to run xrdb -cpp

Sat, 14 Jun 2014 23:06:56 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Sat, 14 Jun 2014 23:06:56 -0400
changeset 56
e341df2dafda
parent 55
fe505cd6be19
child 57
8af5835e43e1

Allow .Xdefaults.local to be included, don\'t rely on system to run xrdb -cpp

.Xdefaults file | annotate | diff | comparison | revisions
.xsessionrc file | annotate | diff | comparison | revisions
--- a/.Xdefaults
+++ b/.Xdefaults
@@ -15,3 +15,4 @@ URxvt.saveLines: 1000
 URxvt.iso14755: false
 URxvt.iso14755_52: false
 
+#include ".Xdefaults.local"
--- a/.xsessionrc
+++ b/.xsessionrc
@@ -24,6 +24,10 @@ if [ -x /usr/bin/xcompmgr ]; then
 fi
 
 
+if [ -r ~/.Xdefaults.local ]; then
+  /usr/bin/xrdb -quiet -merge -cpp /usr/bin/cpp ~/.Xdefaults.local
+fi
+
 if [ -r ~/.xsessionrc.local ]; then
   . ~/.xsessionrc.local
 fi

mercurial