Changed config file location to ~/.fluxbox/bsetbg
This commit is contained in:
parent
0b25f007d0
commit
7ba22413a2
1 changed files with 7 additions and 3 deletions
|
@ -311,7 +311,7 @@ create_config()
|
||||||
case $UID in 0)
|
case $UID in 0)
|
||||||
if [ "$ARGUMENT" != "-r" ]; then
|
if [ "$ARGUMENT" != "-r" ]; then
|
||||||
echo "$NAME: running X as root is a security hazard, and is NOT a good idea!"
|
echo "$NAME: running X as root is a security hazard, and is NOT a good idea!"
|
||||||
echo "$NAME: if you insist upon having a ~/.bsetbgrc for root, run bsetbg with"
|
echo "$NAME: if you insist upon having a ~/.fluxbox/bsetbg for root, run bsetbg with"
|
||||||
echo "$NAME: the '-r' flag to force its creation. you have been warned!"
|
echo "$NAME: the '-r' flag to force its creation. you have been warned!"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
@ -336,6 +336,10 @@ create_config()
|
||||||
INFO= && error_msg 3
|
INFO= && error_msg 3
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ ! -d ~/.fluxbox ]; then
|
||||||
|
mkdir ~/.fluxbox
|
||||||
|
fi
|
||||||
|
|
||||||
echo "# $CONFIG" >> $CONFIG
|
echo "# $CONFIG" >> $CONFIG
|
||||||
echo "#" >> $CONFIG
|
echo "#" >> $CONFIG
|
||||||
echo "# automagically generated with loving care by $NAME $VERSION on `date`" >> $CONFIG
|
echo "# automagically generated with loving care by $NAME $VERSION on `date`" >> $CONFIG
|
||||||
|
@ -601,7 +605,7 @@ debug()
|
||||||
}
|
}
|
||||||
|
|
||||||
IMAGE_APPS="display Esetroot wmsetbg xv xli qiv"
|
IMAGE_APPS="display Esetroot wmsetbg xv xli qiv"
|
||||||
CONFIG="$HOME/.bsetbgrc"
|
CONFIG="$HOME/.fluxbox/bsetbg"
|
||||||
NAME=bsetbg
|
NAME=bsetbg
|
||||||
VERSION=1.12
|
VERSION=1.12
|
||||||
MORE="(C) 2000 by lordzork industries (http://lordzork.com/)"
|
MORE="(C) 2000 by lordzork industries (http://lordzork.com/)"
|
||||||
|
|
Loading…
Reference in a new issue