aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xutil/startfluxbox.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/util/startfluxbox.in b/util/startfluxbox.in
index 9099640..a6e5838 100755
--- a/util/startfluxbox.in
+++ b/util/startfluxbox.in
@@ -2,7 +2,7 @@
2# $Id$ 2# $Id$
3 3
4command="`basename \"$0\"`" 4command="`basename \"$0\"`"
5startup="~/.fluxbox/startup" 5startup=~/.fluxbox/startup
6 6
7while [ $# -gt 0 ]; do 7while [ $# -gt 0 ]; do
8 case "$1" in 8 case "$1" in
@@ -32,7 +32,7 @@ else
32 mkdir -p ~/.fluxbox/{backgrounds,styles,pixmaps} 32 mkdir -p ~/.fluxbox/{backgrounds,styles,pixmaps}
33 fi 33 fi
34 if [ ! -r "$startup" ]; then 34 if [ ! -r "$startup" ]; then
35 cat << EOF > "$startup" 35 ( cat << EOF
36# fluxbox startup-script: 36# fluxbox startup-script:
37# 37#
38# Lines starting with a '#' are ignored. 38# Lines starting with a '#' are ignored.
@@ -83,6 +83,7 @@ exec @pkgbindir@/fluxbox
83# or if you want to keep a log: 83# or if you want to keep a log:
84# exec @pkgbindir@/fluxbox -log ~/.fluxbox/log 84# exec @pkgbindir@/fluxbox -log ~/.fluxbox/log
85EOF 85EOF
86 ) > "$startup"
86 fi 87 fi
87 chmod 755 "$startup" 88 chmod 755 "$startup"
88 exec "$startup" 89 exec "$startup"