]> git.draconx.ca Git - fvwmconf.git/blobdiff - scripts/bgmenu.zsh
thumbnailer: Follow only one level of symbolic link.
[fvwmconf.git] / scripts / bgmenu.zsh
index 7c0b7d4586cb8590850c9adb083409a58b965d22..15bbd2aaa46e906c53ebf207c349490fafd2c180 100755 (executable)
@@ -1,4 +1,4 @@
-#!/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
@@ -6,7 +6,7 @@
 
 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