summaryrefslogtreecommitdiffstats
path: root/.xinitrc
blob: 3f2f3497d0e5297a582dff819a572ca0946a5a28 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/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="matchbox-window-manager -use_titlebar no"
exec $wm