aboutsummaryrefslogtreecommitdiff
path: root/util/fbsetbg
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2003-08-04 16:49:25 (GMT)
committerfluxgen <fluxgen>2003-08-04 16:49:25 (GMT)
commite9f9c6104b61a9f7ec7df14235a9c5392f082bad (patch)
tree5437cc409b03a4ef93d5d2d224134338e40ffe9c /util/fbsetbg
parent9858833a574f203afab265e5eb1ace42d4a8766d (diff)
downloadfluxbox-e9f9c6104b61a9f7ec7df14235a9c5392f082bad.zip
fluxbox-e9f9c6104b61a9f7ec7df14235a9c5392f082bad.tar.bz2
update from han
Diffstat (limited to 'util/fbsetbg')
-rw-r--r--util/fbsetbg19
1 files changed, 12 insertions, 7 deletions
diff --git a/util/fbsetbg b/util/fbsetbg
index 0fe7956..592f513 100644
--- a/util/fbsetbg
+++ b/util/fbsetbg
@@ -23,7 +23,7 @@
23# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 23# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
24# SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 24# SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
25# 25#
26# $Id: fbsetbg,v 1.13 2003/07/29 09:29:45 fluxgen Exp $ 26# $Id: fbsetbg,v 1.14 2003/08/04 16:49:25 fluxgen Exp $
27 27
28# 28#
29# Portability notes: 29# Portability notes:
@@ -141,17 +141,21 @@ for wpsetter in $wpsetters; do
141 fi 141 fi
142done 142done
143 143
144standardrant="$WPSETTER sets the 'wrong' wallpaper. Transparant apps like aterm and 144standardrant=\
145xchat won't work right with it. Consider using wmsetbg (from windowmaker) 145"$WPSETTER sets the 'wrong' wallpaper. Transparency for fluxbox and apps like aterm
146and xchat won't work right with it. Consider using chbg, wmsetbg (from windowmaker)
146or Esetroot (from Eterm)" 147or Esetroot (from Eterm)"
147 148
149standardok=\
150"$WPSETTER is a nice wallpapersetter. You won't have any problems."
151
148case $WPSETTER in 152case $WPSETTER in
149 chbg) 153 chbg)
150 full='-once -mode maximize' 154 full='-once -mode maximize'
151 tile='-once -mode tile' 155 tile='-once -mode tile'
152 center='-once -mode center' 156 center='-once -mode center'
153 aspect='-once -mode smart -max_grow 100 -max_size 100' 157 aspect='-once -mode smart -max_grow 100 -max_size 100'
154 debugstory="chbg is a nice app. You won't have any problems." 158 debugstory=$standardok
155 ;; 159 ;;
156 xsri) 160 xsri)
157 full='--center-x --center-y --scale-width=100 --scale-width=100' 161 full='--center-x --center-y --scale-width=100 --scale-width=100'
@@ -172,14 +176,14 @@ case $WPSETTER in
172 tile='' 176 tile=''
173 center='-c' 177 center='-c'
174 aspect='-fit' 178 aspect='-fit'
175 debugstory="Esetroot is a nice app. You won't have any problems." 179 debugstory=$standardok
176 ;; 180 ;;
177 wmsetbg) 181 wmsetbg)
178 full='-s -S' 182 full='-s -S'
179 tile='-t' 183 tile='-t'
180 center='-b black -e' 184 center='-b black -e'
181 aspect='-b black -a' 185 aspect='-b black -a'
182 debugstory="wmsetbg is a nice app. You won't have any problems." 186 debugstory=$standardok
183 ;; 187 ;;
184 xsetbg) 188 xsetbg)
185 tile='-border black' 189 tile='-border black'
@@ -218,7 +222,8 @@ case $WPSETTER in
218errormessages with aterm. Don't use it unless you have to." 222errormessages with aterm. Don't use it unless you have to."
219 ;; 223 ;;
220 '') 224 '')
221 message "I can't find an app to set the wallpaper with. You can install one in 225 message \
226"I can't find an app to set the wallpaper with. You can install one in
222many many ways but I will give you some simple advice: install Eterm and 227many many ways but I will give you some simple advice: install Eterm and
223you're set. Eterm provides Esetroot and thats a great wallpaper setter. I 228you're set. Eterm provides Esetroot and thats a great wallpaper setter. I
224recommend you install the package provided by your distro." 229recommend you install the package provided by your distro."