3 # Setup script for X11 configuration files.
8 if installed stumpwm; then
9 link stumpwmrc ~/.stumpwmrc
13 # Use settings for XTerm also for UXTerm. This prevents code duplication.
14 generate awk Xdefaults \
15 '{ print ; if ( /^XTerm/ ) { print "U" $0 } }'
16 # Xdefaults uses ! as comment instead of #. tmp file necessary because of
17 # different implementations of `sed -i`.
18 sed 's/^#/!/' Xdefaults > Xdefaults.tmp
19 mv Xdefaults.tmp Xdefaults
21 if [ `os` != darwin ]; then
22 link xinitrc ~/.xinitrc
24 link xmodmaprc ~/.xmodmaprc
25 link Xdefaults ~/.Xdefaults