update from han

This commit is contained in:
fluxgen 2003-08-04 16:49:25 +00:00
parent 9858833a57
commit e9f9c6104b

View file

@ -23,7 +23,7 @@
# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE # TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
# SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. # SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
# #
# $Id: fbsetbg,v 1.13 2003/07/29 09:29:45 fluxgen Exp $ # $Id: fbsetbg,v 1.14 2003/08/04 16:49:25 fluxgen Exp $
# #
# Portability notes: # Portability notes:
@ -141,17 +141,21 @@ for wpsetter in $wpsetters; do
fi fi
done done
standardrant="$WPSETTER sets the 'wrong' wallpaper. Transparant apps like aterm and standardrant=\
xchat won't work right with it. Consider using wmsetbg (from windowmaker) "$WPSETTER sets the 'wrong' wallpaper. Transparency for fluxbox and apps like aterm
and xchat won't work right with it. Consider using chbg, wmsetbg (from windowmaker)
or Esetroot (from Eterm)" or Esetroot (from Eterm)"
standardok=\
"$WPSETTER is a nice wallpapersetter. You won't have any problems."
case $WPSETTER in case $WPSETTER in
chbg) chbg)
full='-once -mode maximize' full='-once -mode maximize'
tile='-once -mode tile' tile='-once -mode tile'
center='-once -mode center' center='-once -mode center'
aspect='-once -mode smart -max_grow 100 -max_size 100' aspect='-once -mode smart -max_grow 100 -max_size 100'
debugstory="chbg is a nice app. You won't have any problems." debugstory=$standardok
;; ;;
xsri) xsri)
full='--center-x --center-y --scale-width=100 --scale-width=100' full='--center-x --center-y --scale-width=100 --scale-width=100'
@ -172,14 +176,14 @@ case $WPSETTER in
tile='' tile=''
center='-c' center='-c'
aspect='-fit' aspect='-fit'
debugstory="Esetroot is a nice app. You won't have any problems." debugstory=$standardok
;; ;;
wmsetbg) wmsetbg)
full='-s -S' full='-s -S'
tile='-t' tile='-t'
center='-b black -e' center='-b black -e'
aspect='-b black -a' aspect='-b black -a'
debugstory="wmsetbg is a nice app. You won't have any problems." debugstory=$standardok
;; ;;
xsetbg) xsetbg)
tile='-border black' tile='-border black'
@ -218,7 +222,8 @@ case $WPSETTER in
errormessages with aterm. Don't use it unless you have to." errormessages with aterm. Don't use it unless you have to."
;; ;;
'') '')
message "I can't find an app to set the wallpaper with. You can install one in message \
"I can't find an app to set the wallpaper with. You can install one in
many many ways but I will give you some simple advice: install Eterm and many many ways but I will give you some simple advice: install Eterm and
you're set. Eterm provides Esetroot and thats a great wallpaper setter. I you're set. Eterm provides Esetroot and thats a great wallpaper setter. I
recommend you install the package provided by your distro." recommend you install the package provided by your distro."