blob: e588047fce5bf4544a54c7367112bd982265df1f (
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;;
awesome ) exec awesome;;
xfce|xfce4 ) exec startxfce4;;
# No known session, try to run it as command
* ) exec $1;;
esac
|