aboutsummaryrefslogtreecommitdiffstats
path: root/.xinitrc
blob: ebb31eb9f0516a5788ae0e479253d73743d1e2b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh

[ -f /etc/xprofile ] && . /etc/xprofile
[ -f ~/.xprofile ] && . ~/.xprofile

session=${1:-qtile}

case $session in
    i3|i3wm ) exec i3;;
    kde ) exec startkde;;
    qtile ) exec qtile start;;
    awesome ) exec awesome;;
    xfce|xfce4 ) exec startxfce4;;
    # No known session, try to run it as command
    * ) exec $1;;
esac