diff options
Diffstat (limited to 'util/startfluxbox.in')
-rwxr-xr-x | util/startfluxbox.in | 11 |
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 |
2 | if [ -e ~/.fluxbox/startup ];then | 2 | # $Id: startfluxbox.in,v 1.2 2003/09/29 11:59:35 fluxgen Exp $ |
3 | if [ -x ~/.fluxbox/startup ];then | ||
4 | exec ~/.fluxbox/startup | ||
5 | elif [ -r ~/.fluxbox/startup ]; then | ||
3 | exec sh ~/.fluxbox/startup | 6 | exec sh ~/.fluxbox/startup |
4 | else | 7 | else |
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 |
11 | fi | 14 | fi |