On Wed, 2004-02-25 at 14:06, calmar wrote:
> Anyway, when I want to put about the same into a Menu, it
> obviously does not work at all then. P.e:
>
> DestroyMenu testmenu
> AddToMenu testmenu
> + "screenshot" Exec exec sleep 3 && import -window root ~/pics/screenshots/sc-`date +%F-%H-%M-%S`.jpg
^^^^^^^^^^
Your doubled exec causes fvwm to pass 'exec sleep 3' to the shell.
'exec' in a shell replaces the shell task with the new one, so the shell
goes away after running sleep.
--
Ben Winslow <rain_at_bluecherry.net>
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Wed Feb 25 2004 - 16:20:18 GMT