Lines 3-15
Link Here
|
3 |
|
3 |
|
4 |
wmiiwm -c || exit 1 |
4 |
wmiiwm -c || exit 1 |
5 |
|
5 |
|
|
|
6 |
if [ -d $HOME/.wmii-3 ]; then |
7 |
SHOW_WELCOME=false |
8 |
fi |
9 |
|
6 |
OLD_PATH=$PATH export OLD_PATH |
10 |
OLD_PATH=$PATH export OLD_PATH |
7 |
PATH=$HOME/.wmii-3:CONFPREFIX/wmii-3:$PATH export PATH |
11 |
PATH=$HOME/.wmii-3:CONFPREFIX/wmii-3:$PATH export PATH |
8 |
WMII_ADDRESS=unix!/tmp/ns.$USER.${DISPLAY%.0}/wmii export WMII_ADDRESS |
12 |
NAMESPACE=$HOME/.wmii-3/ns${DISPLAY%.0} |
|
|
13 |
WMII_ADDRESS=unix!$NAMESPACE/wmii export WMII_ADDRESS |
9 |
|
14 |
|
10 |
mkdir -m 700 /tmp/ns.$USER.${DISPLAY%.0} 2>/dev/null |
15 |
mkdir -p -m 700 $NAMESPACE 2>/dev/null |
11 |
wmiiwm -a $WMII_ADDRESS & |
16 |
wmiiwm -a $WMII_ADDRESS & |
12 |
wmiiwmpid=$! |
17 |
wmiiwmpid=$! |
13 |
mkdir $HOME/.wmii-3 2>/dev/null && welcome & |
18 |
$SHOW_WELCOME && welcome |
14 |
wmiirc & |
19 |
wmiirc & |
15 |
wait $wmiiwmpid |
20 |
wait $wmiiwmpid |