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

emacs --daemon &
fehlstart &

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