Avoid warning when no .Xdefaults.local exists

Sat, 14 Jun 2014 23:28:13 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Sat, 14 Jun 2014 23:28:13 -0400
changeset 57
8af5835e43e1
parent 56
e341df2dafda
child 63
4c151c56b0b8

Avoid warning when no .Xdefaults.local exists

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

mercurial