PATH=$PATH:/usr/bin:/usr/local/bin:/usr/X11R6/bin
-img_apps="qiv xli xv wmsetbg Esetroot display xsetbg"
+img_apps="display xli xsetbg Esetroot qiv wmsetbg xv"
display_full_cmd="display -geometry 800x600 -window root"
display_tile_cmd="display -window root"
xli_center_cmd="xli -center -onroot quiet"
xli_default_cmd="$xli_center_cmd"
-xsetbg_full_cmd="xsetbg -fillscreen"
+xsetbg_full_cmd="xsetbg -fullscreen"
xsetbg_tile_cmd="xsetbg"
xsetbg_center_cmd="xsetbg -center"
xsetbg_default_cmd="$xsetbg_center_cmd"
exit ${rc:-0}
}
-bool()
-{
+bool() {
case $1 in
[yY][eE][sS]|1|[yY]|[tT][rR][uU][eE]|[oO][nN]) : ;;
*) return 1 ;;
-full <file> stretch an image to fill the desktop
-exec <args> <file> specify an external command to execute
+ -app <app> specify the image application to use
-post <string> arguments to be passed to the post-command
-debug prints commands without executing them
EOF