aboutsummaryrefslogtreecommitdiff
path: root/util/bsetbg
diff options
context:
space:
mode:
Diffstat (limited to 'util/bsetbg')
-rwxr-xr-xutil/bsetbg10
1 files changed, 7 insertions, 3 deletions
diff --git a/util/bsetbg b/util/bsetbg
index ccf0fd0..9f3fc12 100755
--- a/util/bsetbg
+++ b/util/bsetbg
@@ -311,7 +311,7 @@ create_config()
311 case $UID in 0) 311 case $UID in 0)
312 if [ "$ARGUMENT" != "-r" ]; then 312 if [ "$ARGUMENT" != "-r" ]; then
313 echo "$NAME: running X as root is a security hazard, and is NOT a good idea!" 313 echo "$NAME: running X as root is a security hazard, and is NOT a good idea!"
314 echo "$NAME: if you insist upon having a ~/.bsetbgrc for root, run bsetbg with" 314 echo "$NAME: if you insist upon having a ~/.fluxbox/bsetbg for root, run bsetbg with"
315 echo "$NAME: the '-r' flag to force its creation. you have been warned!" 315 echo "$NAME: the '-r' flag to force its creation. you have been warned!"
316 exit 1 316 exit 1
317 fi 317 fi
@@ -336,6 +336,10 @@ create_config()
336 INFO= && error_msg 3 336 INFO= && error_msg 3
337 fi 337 fi
338 338
339 if [ ! -d ~/.fluxbox ]; then
340 mkdir ~/.fluxbox
341 fi
342
339 echo "# $CONFIG" >> $CONFIG 343 echo "# $CONFIG" >> $CONFIG
340 echo "#" >> $CONFIG 344 echo "#" >> $CONFIG
341 echo "# automagically generated with loving care by $NAME $VERSION on `date`" >> $CONFIG 345 echo "# automagically generated with loving care by $NAME $VERSION on `date`" >> $CONFIG
@@ -601,7 +605,7 @@ debug()
601} 605}
602 606
603IMAGE_APPS="display Esetroot wmsetbg xv xli qiv" 607IMAGE_APPS="display Esetroot wmsetbg xv xli qiv"
604CONFIG="$HOME/.bsetbgrc" 608CONFIG="$HOME/.fluxbox/bsetbg"
605NAME=bsetbg 609NAME=bsetbg
606VERSION=1.12 610VERSION=1.12
607MORE="(C) 2000 by lordzork industries (http://lordzork.com/)" 611MORE="(C) 2000 by lordzork industries (http://lordzork.com/)"
@@ -696,4 +700,4 @@ case $1 in
696 fi 700 fi
697 help_msg 701 help_msg
698 fi 702 fi
699esac \ No newline at end of file 703esac