Make Xresource loading generic. Call xrdb with "-merge".

Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
master
tetrakist 4 years ago committed by Maarten van Gompel
parent 0d66342126
commit 49b435d24f
  1. 7
      scripts/core/sxmo_xinit.sh

@ -35,9 +35,10 @@ xdefaults() {
xmodmap /usr/share/sxmo/appcfg/xmodmap_caps_esc
xsetroot -mod 29 29 -fg '#0b3a4c' -bg '#082430'
xset s off -dpms
xrdb /usr/share/sxmo/appcfg/xresources_xcalc.xr
xrdb /usr/share/sxmo/appcfg/xresources_dmenu.xr
[ -e "$HOME"/.Xresources ] && xrdb "$HOME"/.Xresources
for xr in /usr/share/sxmo/appcfg/*.xr; do
xrdb -merge "$xr"
done
[ -e "$HOME"/.Xresources ] && xrdb -merge "$HOME"/.Xresources
synclient TapButton1=1 TapButton2=3 TapButton3=2 MinSpeed=0.25
}

Loading…
Cancel
Save