Re: FVWM: clean up before quiting

From: A. van Werven <avwerven_at_wi.leidenuniv.nl>
Date: Thu, 9 Apr 1998 08:59:04 +0200 (DST)

Near 2000, Look, Joseph mumbled something about:
>
> I would like to know is it possible to do some cleanup (running my own
> script) before executing the built-in Quit when the user select to quit
> fvwm.
> For example, in the .fvwmrc file the Quit selection look like this
> AddToMenu "Shutdown" \
> "Quit fvwm%mini-exclam.xpm%" Quit
>
> Can I do something like:
> AddToMenu "Shutdown" \
> "Quit fvwm%mini-exclam.xpm%" Exec my-program , Quit


AddToFunc Byebye "I" Exec (command 1)
+ "I" Command 2
+ "I" Etc...
+ "I" Quit

AddToMenu "Shutdown" Quit fvwm%min-exclam.xpm%" Function Byebye

Hope you get the idea,

-- 
A. van Werven
Dept. of Computer Science, Leiden University, The Netherlands
E-mail: avwerven_at_cs.leidenuniv.nl
URL: http://www.wi.leidenuniv.nl/~avwerven
Life would be easier if I had the source code. 
--
Visit the official FVWM web page at <URL:http://www.hpc.uh.edu/fvwm/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_hpc.uh.edu.
To report problems, send mail to fvwm-owner_at_hpc.uh.edu.
Received on Thu Apr 09 1998 - 01:59:36 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:38:01 BST