19 lines
337 B
Bash
Executable file
19 lines
337 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
|
|
|
|
pidof mpdscribble >& /dev/null
|
|
if [ $? -ne 0 ]
|
|
then
|
|
mpdscribble &
|
|
fi
|
|
|
|
test -n "$1" && wm=$1 || wm="emacs"
|
|
exec $wm
|