-#!/bin/zsh
+#!/usr/bin/env zsh
# Generates an FVWM menu for selecting the PNG images found in a given
# directory. Thumbnails for the images are generated on the fly using convert
# from ImageMagick, and stored in the .thumbs subdirectory. The menu items
menu="MenuWallpaper"
func="SetWallpaper"
-thumber="$FVWM_USERDIR/scripts/thumbnail.sh"
+thumber="$FVWM_USERDIR/scripts/thumbnail.zsh"
if [ ! -d "$1" ]; then
echo "usage: $0 <directory> [menuname]" 1>&2