Try to load Xresources, if that fails fall back to Xdefaults. Closes #4670

This commit is contained in:
Pascal Wittmann 2014-11-07 21:21:21 +01:00
parent 647f58bfaf
commit d6e87f1749
1 changed files with 3 additions and 1 deletions

View File

@ -79,7 +79,9 @@ let
''}
# Load X defaults.
if test -e ~/.Xdefaults; then
if test -e ~/.Xresources; then
${xorg.xrdb}/bin/xrdb -merge ~/.Xresources
elif test -e ~/.Xdefaults; then
${xorg.xrdb}/bin/xrdb -merge ~/.Xdefaults
fi