Re: FVWM: WindowID $0 (h < 20) close_netscape_win

From: Mikhael Goikhman <migo_at_homemail.com>
Date: Tue, 16 Jan 2001 14:17:53 -0600

On 16 Jan 2001 10:47:00 -0800, Elliot Sowadsky wrote:
>
> Would be nice if we could do
>
> Current/Next/WindowID/etc (x/y/width/height </> number) op

For complex expressions you may use shell/awk/expr/perl. Try in 2.3.19+:

Key P W CM Current (Netscape*) PipeRead `[ $[w.width] -lt 210 ] && echo Close`

Now press Ctrl-Alt-P in any window. Only if you are in a netscape window
and its width is less than 210, the window will be closed. That you want.

Regards,
Mikhael.

--
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 Tue Jan 16 2001 - 14:19:30 GMT

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:51 BST