aboutsummaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorpekdon <pekdon>2002-02-09 14:56:36 (GMT)
committerpekdon <pekdon>2002-02-09 14:56:36 (GMT)
commit7ba22413a2cc10ef053cbd1a3ab09ca2d1f8fc0c (patch)
tree5c742279b92c56d3d294ca1c515bd5193813816c /util
parent0b25f007d006994b0cf0abe6db6cd200e272e685 (diff)
downloadfluxbox-7ba22413a2cc10ef053cbd1a3ab09ca2d1f8fc0c.zip
fluxbox-7ba22413a2cc10ef053cbd1a3ab09ca2d1f8fc0c.tar.bz2
Changed config file location to ~/.fluxbox/bsetbg
Diffstat (limited to 'util')
-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