]> oss.titaniummirror.com Git - smckown/dotfiles.git/commitdiff
dwmrc: re-merge ~/.Xresources
authorR. Steve McKown <rsmckown@gmail.com>
Sun, 14 Jun 2015 06:37:07 +0000 (00:37 -0600)
committerR. Steve McKown <rsmckown@gmail.com>
Sun, 14 Jun 2015 06:37:07 +0000 (00:37 -0600)
To work around a lightdm bug (it merges with -nocpp), re-merge here so
that our #defines work.  There is an outstanding launchpad bug on this
issue: #1244578.  It may not be 'fixed'.

dwmrc

diff --git a/dwmrc b/dwmrc
index c2a2a1cdb27691e615f03cea937434a7729d5732..aed08e11b4ddad9fe71f64f739d702cfd95a59a1 100755 (executable)
--- a/dwmrc
+++ b/dwmrc
 #     exec dwm.custom
 # fi
 
+# Although the system startup merged ~/.Xresources, it did so with the -nocpp
+# option (Ubuntu 14.04), which prevents the use of #define, etc.  Re-merge here
+# for correct behavior.
+xrdb -merge ~/.Xresources
+
 # Initial startup volume to sane level
 pactl set-sink-volume $(pactl info | grep "Default Sink:" | awk '{ print $3}') '30%'