awsetbg: add fvwm-root support
fvwm-root is a part of the FVWM window manager, and is one of those utilities that properly support transparency because it can retain and publish the Pixmap with which the background has been set. It supports XBM, XPM, PNG and SVG image formats, but is not very rich in options as opposed to habak or feh. Signed-off-by: Adrian C. (anrxc) <anrxc@sysphere.org> Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
d07f3533c6
commit
44271e0977
|
@ -53,7 +53,7 @@ else
|
|||
fi
|
||||
|
||||
# The wallpapersetter is selected in this order
|
||||
wpsetters="${wpsetters:=Esetroot habak wmsetbg feh hsetroot chbg display qiv xv xsri xli xsetbg xsetroot}" # broken icewmbg'
|
||||
wpsetters="${wpsetters:=Esetroot habak wmsetbg feh hsetroot chbg fvwm-root display qiv xv xsri xli xsetbg xsetroot}" # broken icewmbg'
|
||||
lastwallpaper="${CONFIG_DIR}/lastwallpaper"
|
||||
|
||||
|
||||
|
@ -334,10 +334,10 @@ if [ "$setterfromcommandline" != true ]; then
|
|||
fi
|
||||
|
||||
standardrant=\
|
||||
"$WPSETTER doesn't set the wallpaper properly. Transparency for awesome and
|
||||
apps like aterm and xchat won't work right with it. Consider installing
|
||||
feh, wmsetbg (from windowmaker) or Esetroot (from Eterm) and I'll use
|
||||
them instead."
|
||||
"$WPSETTER doesn't set the wallpaper properly. Transparency for
|
||||
awesome and apps like aterm and xchat won't work right with
|
||||
it. Consider installing feh, wmsetbg (from windowmaker), Esetroot
|
||||
(from Eterm) or fvwm-root (from FVWM) and I'll use them instead."
|
||||
|
||||
standardok=\
|
||||
"$WPSETTER is a nice wallpapersetter. You won't have any problems."
|
||||
|
@ -427,6 +427,15 @@ case $WPSETTER in
|
|||
aspect='-mS'
|
||||
debugstory=$standardok
|
||||
;;
|
||||
fvwm-root)
|
||||
tile='-r'
|
||||
full=$tile
|
||||
center=$tile
|
||||
aspect=$tile
|
||||
debugstory="fvwm-root can retain and publish the Pixmap, thus
|
||||
supports transparency. But only these image formats are supported:
|
||||
XBM, XPM, PNG, SVG and it is rather limited with options."
|
||||
;;
|
||||
icewmbg)
|
||||
tile='-s'
|
||||
full=$tile
|
||||
|
|
Loading…
Reference in New Issue