Re: FVWM: sticky windows on given display

2022-04-06 Thread Dominik Vogt
On Wed, Apr 06, 2022 at 09:47:58AM +0200, Martin Cermak wrote:
> there's one manual step I'd like to automate with fvwm:  I'd like
> to make all windows that are created or moved to given physical
> display - sticky.
>
> For now I've partially automated that based on the window name,
> but I'd love to base this on the display where the window is
> shown rather than on the window name.
>
> Is there a reasonable way of doing this?  How?

You can make a wrapper move function and use that instead of the
move command:

  addtofunc moveandstick
  + i move $*
  + i all ... stick on

Replace the "..." with a condition that matches all windows that
are supposed to become sticky.

Then replace all "move" calls in the config with "moveandstick".

Ciao

Dominik ^_^  ^_^

--

Dominik Vogt



Re: FVWM: sticky windows on given display

2022-04-06 Thread Dominik Vogt
On Wed, Apr 06, 2022 at 02:13:38PM -0500, Brian A wrote:
> Hi, I'd love to do the same with gkrellm, except I'd also like it to
> always remain on top also.  Right now it often ends up hidden under my
> right panel, since I like to place it in the lower right. Today, each
> time I start FVWM, I have to manually click on the gkrellm window and
> then set it to "StaysOnTop".  There must be a way to specify in
> .fvwm/config Start Function area  the "StaysOnTop" parameter?
> right now the line is
> + I Test (Init) Schedule 8000 Exec gkrellm
>
> is it as easy as
>
> + I Test (Init) Schedule 8000 Exec gkrellm StaysOnTop

  Style ... staysontop

Ciao

Dominik ^_^  ^_^

--

Dominik Vogt



Re: FVWM: sticky windows on given display

2022-04-06 Thread Brian A
Hi, I'd love to do the same with gkrellm, except I'd also like it to
always remain on top also.  Right now it often ends up hidden under my
right panel, since I like to place it in the lower right. Today, each
time I start FVWM, I have to manually click on the gkrellm window and
then set it to "StaysOnTop".  There must be a way to specify in
.fvwm/config Start Function area  the "StaysOnTop" parameter?
right now the line is
+ I Test (Init) Schedule 8000 Exec gkrellm

is it as easy as 

+ I Test (Init) Schedule 8000 Exec gkrellm StaysOnTop

Or Do I have to setup a separatet Style with Layers?
Cheers,  BrianA_MN


===
Reply to the following email received Wed, 6 Apr 2022 09:47:58 +0200
from Martin Cermak  is above the double line.

> Hi folks,
> 
> there's one manual step I'd like to automate with fvwm:  I'd like
> to make all windows that are created or moved to given physical
> display - sticky.
> 
> For now I've partially automated that based on the window name,
> but I'd love to base this on the display where the window is
> shown rather than on the window name.
> 
> Is there a reasonable way of doing this?  How?
> 
> Thanks,
> Martin
> 
> 








FVWM: sticky windows on given display

2022-04-06 Thread Martin Cermak
Hi folks,

there's one manual step I'd like to automate with fvwm:  I'd like
to make all windows that are created or moved to given physical
display - sticky.

For now I've partially automated that based on the window name,
but I'd love to base this on the display where the window is
shown rather than on the window name.

Is there a reasonable way of doing this?  How?

Thanks,
Martin