blob: 5df58b2e97396ede246388e00220982524edb0e0 (
about) (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#!/bin/sh
#
# Enhanced Slim X session startup script
# Slim does not provide a means to differentiate between the system-wide
# xinitrc scripts and a user's .xinitrc
#
# Determine the session to start (twm is the fallback):
[ -n "$1" ] && MYSESSION=$1 || MYSESSION=twm
if [ -f ~/.xinitrc ]; then
. ~/.xinitrc $MYSESSION
elif [ -f /etc/X11/xinit/xinitrc.${MYSESSION} ]; then
. /etc/X11/xinit/xinitrc.${MYSESSION}
else
. /etc/X11/xinit/xinitrc
fi
|