Re: FVWM: Moving windows to page

From: Dominik Vogt <fvwm_at_fvwm.org>
Date: Mon, 14 Jan 2002 14:21:17 +0100

On Mon, Jan 14, 2002 at 10:18:04AM -0200, Christian Lyra wrote:
>
> Hi,
>
> I'm trying to bind keys to move windows one page to the side. I thought it
> was simple as:
>
> Key Left FSTW SCM MoveToPage $[page.ny] $[page.nx]-1
>
> but it wasn't :-( What's wrong?

You can't make calculations in fvwm commands. Use the shell via
PipeRead instead:

  Key Left FSTW SCM PipeRead "echo MoveToPage $[$[page.nx]-1] $[page.ny]"

By the way, you switched the x and y coordinate in your command
above.

Bye

Dominik ^_^ ^_^

-- 
Dominik Vogt, email: d.vogt_at_lifebits.de
LifeBits Aktiengesellschaft, Albrechtstr. 9, D-72072 Tuebingen
fon: ++49 (0) 7071/7965-0, fax: ++49 (0) 7071/7965-20
--
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 Mon Jan 14 2002 - 07:31:39 GMT

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