summaryrefslogtreecommitdiffstats
path: root/.xinitrc
blob: 6446320fcb50dd5e37d8137bd62499463bec3560 (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="$HOME/usr/local/bin/dwm"
exec $wm