summaryrefslogtreecommitdiff
path: root/x11/xprofile
blob: 452e95443b774289d235bb71f47c141ef2d71ff2 (plain)
1
2
3
4
5
6
#!/bin/sh
XRESOURCES=${XRESOURCES:-$X11CONFIG/Xresources.$(hostname)}
[ -f "$XRESOURCES" ] || XRESOURCES=$X11CONFIG/Xresources
xrdb -merge $XRESOURCES 2>/dev/null & xrdbpid=$!
$X11CONFIG/xkeyconf &
wait $xrdbpid # Wait for xrdb to ensure the WM starts using the correct DPI settings