aboutsummaryrefslogtreecommitdiff
path: root/util/startfluxbox.in
diff options
context:
space:
mode:
authorsimonb <simonb>2006-04-17 09:47:40 (GMT)
committersimonb <simonb>2006-04-17 09:47:40 (GMT)
commitc5b67f9a42731e5841bfd40e41268ed308225b30 (patch)
treec305af07430c12cd011ebb5153147b1db734f3d2 /util/startfluxbox.in
parent9ec117da1ab522c7dbcfd03d71fcc5aaf8b16f1a (diff)
downloadfluxbox-c5b67f9a42731e5841bfd40e41268ed308225b30.zip
fluxbox-c5b67f9a42731e5841bfd40e41268ed308225b30.tar.bz2
portability fixes for couple of shell scripts
Diffstat (limited to 'util/startfluxbox.in')
-rwxr-xr-xutil/startfluxbox.in14
1 files changed, 7 insertions, 7 deletions
diff --git a/util/startfluxbox.in b/util/startfluxbox.in
index 920fb5e..6be6236 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="$HOME/.fluxbox/startup"
6 6
7while [ $# -gt 0 ]; do 7while [ $# -gt 0 ]; do
8 case "$1" in 8 case "$1" in
@@ -28,8 +28,8 @@ if [ -x "$startup" ]; then
28elif [ -r "$startup" ]; then 28elif [ -r "$startup" ]; then
29 exec sh "$startup" 29 exec sh "$startup"
30else 30else
31 if [ ! -d ~/.fluxbox ]; then 31 if [ ! -d "$HOME/.fluxbox" ]; then
32 mkdir -p ~/.fluxbox/backgrounds ~/.fluxbox/styles ~/.fluxbox/pixmaps 32 mkdir -p "$HOME/.fluxbox/backgrounds" "$HOME/.fluxbox/styles" "$HOME/.fluxbox/pixmaps"
33 fi 33 fi
34 if [ ! -r "$startup" ]; then 34 if [ ! -r "$startup" ]; then
35 ( cat << EOF 35 ( cat << EOF
@@ -40,7 +40,7 @@ else
40# You can set your favourite wallpaper here if you don't want 40# You can set your favourite wallpaper here if you don't want
41# to do it from your style. 41# to do it from your style.
42# 42#
43# bsetbg -f ~/pictures/wallpaper.png 43# bsetbg -f $HOME/pictures/wallpaper.png
44# 44#
45# This sets a black background 45# This sets a black background
46 46
@@ -58,13 +58,13 @@ else
58# xset r rate 195 35 58# xset r rate 195 35
59# 59#
60# Your own fonts-dir: 60# Your own fonts-dir:
61# xset +fp $HOME/.font 61# xset +fp "$HOME/.fonts"
62# 62#
63# Your favourite mouse cursor: 63# Your favourite mouse cursor:
64# xsetroot -cursor_name right_ptr 64# xsetroot -cursor_name right_ptr
65# 65#
66# Change your keymap: 66# Change your keymap:
67# xmodmap ~/.Xmodmap 67# xmodmap "$HOME/.Xmodmap"
68 68
69 69
70 70
@@ -81,7 +81,7 @@ else
81 81
82exec @pkgbindir@/fluxbox 82exec @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 "$HOME/.fluxbox/log"
85EOF 85EOF
86 ) > "$startup" 86 ) > "$startup"
87 fi 87 fi