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
10
util/bsetbg
10
util/bsetbg
|
@ -311,7 +311,7 @@ create_config()
|
|||
case $UID in 0)
|
||||
if [ "$ARGUMENT" != "-r" ]; then
|
||||
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!"
|
||||
exit 1
|
||||
fi
|
||||
|
@ -336,6 +336,10 @@ create_config()
|
|||
INFO= && error_msg 3
|
||||
fi
|
||||
|
||||
if [ ! -d ~/.fluxbox ]; then
|
||||
mkdir ~/.fluxbox
|
||||
fi
|
||||
|
||||
echo "# $CONFIG" >> $CONFIG
|
||||
echo "#" >> $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"
|
||||
CONFIG="$HOME/.bsetbgrc"
|
||||
CONFIG="$HOME/.fluxbox/bsetbg"
|
||||
NAME=bsetbg
|
||||
VERSION=1.12
|
||||
MORE="(C) 2000 by lordzork industries (http://lordzork.com/)"
|
||||
|
@ -696,4 +700,4 @@ case $1 in
|
|||
fi
|
||||
help_msg
|
||||
fi
|
||||
esac
|
||||
esac
|
||||
|
|
Loading…
Reference in a new issue