26 lines
462 B
Bash
26 lines
462 B
Bash
#!/bin/sh
|
|
|
|
# load any default xinit scripts
|
|
if [ -d /etc/X11/xinit/xinitrc.d ]; then
|
|
for f in /etc/X11/xinit/xinitrc.d/*; do
|
|
[ -x "$f" ] && . "$f"
|
|
done
|
|
unset f
|
|
fi
|
|
|
|
# load all settings in .Xresource file (mainly for urxvt terminal)
|
|
if [ -s ~/.Xresources ]; then
|
|
xrdb ~/.Xresources
|
|
fi
|
|
|
|
# load any user xmodmappings.
|
|
if [ -s ~/.Xmodmap ]; then
|
|
xmodmap ~/.Xmodmap
|
|
fi
|
|
|
|
# update X font locations
|
|
xset +fp /usr/share/fonts/local
|
|
xset fp rehash
|
|
|
|
exec $1
|