all repos — fluxbox @ 7ba22413a2cc10ef053cbd1a3ab09ca2d1f8fc0c

custom fork of the fluxbox windowmanager

Changed config file location to ~/.fluxbox/bsetbg
pekdon pekdon
commit

7ba22413a2cc10ef053cbd1a3ab09ca2d1f8fc0c

parent

0b25f007d006994b0cf0abe6db6cd200e272e685

1 files changed, 7 insertions(+), 3 deletions(-)

jump to
M util/bsetbgutil/bsetbg

@@ -311,7 +311,7 @@ trap rm_tmpfiles INT QUIT STOP TERM

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

@@ -334,6 +334,10 @@

if [ -z "$FULL" ] || [ -z "TILE" ] || [ -z "$CENTER" ]; then rm -f $TMPFILE INFO= && error_msg 3 + fi + + if [ ! -d ~/.fluxbox ]; then + mkdir ~/.fluxbox fi echo "# $CONFIG" >> $CONFIG

@@ -601,7 +605,7 @@ echo

} 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 @@ create_config && exit 0

fi help_msg fi -esac+esac