diff options
author | fluxgen <fluxgen> | 2003-09-29 11:59:35 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2003-09-29 11:59:35 (GMT) |
commit | 9c3cd9002d89830cc586b1a0d7d977187fa67522 (patch) | |
tree | a1258c4f8915eb4b03c978cf8813ca9b8a44779b /util/startfluxbox.in | |
parent | 039c14a1c0f610e14de4fa7b82f429418f6c32d4 (diff) | |
download | fluxbox-9c3cd9002d89830cc586b1a0d7d977187fa67522.zip fluxbox-9c3cd9002d89830cc586b1a0d7d977187fa67522.tar.bz2 |
update from Han
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 |