legacy-dotfiles/.xinitrc
2013-04-11 15:32:45 +02:00

15 lines
294 B
Bash
Executable file

#!/bin/bash
xmodmap ~/.Xmodmap
# Source scripts in /etc/X11/xinit/xinitrc.d/
if [ -d /etc/X11/xinit/xinitrc.d ]; then
for f in /etc/X11/xinit/xinitrc.d/*; do
[ -x "$f" ] && . "$f"
done
unset f
fi
unclutter &
test -n "$1" && wm=$1 || wm="$HOME/usr/local/bin/dwm"
exec $wm