summaryrefslogtreecommitdiff
path: root/util/startfluxbox.in
diff options
context:
space:
mode:
Diffstat (limited to 'util/startfluxbox.in')
-rwxr-xr-xutil/startfluxbox.in11
1 files changed, 7 insertions, 4 deletions
diff --git a/util/startfluxbox.in b/util/startfluxbox.in
index f3ba2f9..8e9daeb 100755
--- a/util/startfluxbox.in
+++ b/util/startfluxbox.in
@@ -1,11 +1,14 @@
1#!/bin/sh 1#!/bin/sh
2if [ -e ~/.fluxbox/startup ];then 2# $Id: startfluxbox.in,v 1.2 2003/09/29 11:59:35 fluxgen Exp $
3if [ -x ~/.fluxbox/startup ];then
4 exec ~/.fluxbox/startup
5elif [ -r ~/.fluxbox/startup ]; then
3 exec sh ~/.fluxbox/startup 6 exec sh ~/.fluxbox/startup
4else 7else
5 if [ ! -d ~/.fluxbox ];then 8 if [ ! -d ~/.fluxbox ];then
6 mkdir -p ~/.fluxbox/{backgrounds,styles} 9 mkdir -p ~/.fluxbox/{backgrounds,styles,pixmaps}
7 fi 10 fi
8 cp @pkgdatadir@/startup ~/.fluxbox 11 cp @pkgdatadir@/startup ~/.fluxbox
9 @pkgbindir@/bsetroot -solid Black 12 chmod 755 ~/.fluxbox/startup
10 exec @pkgbindir@/fluxbox 13 exec ~/.fluxbox/startup
11fi 14fi