summaryrefslogtreecommitdiffstats
path: root/.xinitrc
blob: 3be47f402c194d3f12258c2a40541a168df4cfe9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/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

emacs --daemon &
fehlstart &

test -n "$1" && wm=$1 || wm="herbstluftwm"
exec $wm