Re: FVWM: Perform action, one in a time - at every open window at all desks and workspaces.

Dominik Vogt <[email protected]>
Newsgroups gmane.comp.window-managers.fvwm
Message-ID <[email protected]>
On Thu, Feb 06, 2020 at 10:00:57PM +0100, Peter Holm wrote:
> Is there any way go to every populated desk/page, and  perform action
> at windows att thoose desk/pages.?

Yes, the command is "all", e.g.

  all Thumbnail_MiniIcons

> I would like to perform  this modified version of Tavis Ormandy's
> tumbnial function at every populated desk/page  when some specific
> comdirions are met.
>
> DestroyFunc Thumbnail_MiniIcons
> AddToFunc Thumbnail_MiniIcons
> + I SetEnv fvwm_mini_icon_size   64 ##Replace with infostore
> + I Current Raise
> + I SetEnv MiniIcon-$[w.id] $[w.MiniIconFile]
> + I ThisWindow (!Shaded, Focused, !Overlapped, !FvwmPager, !Iconic) PipeRead \
>     " echo Raise; $[FVWM_USERDIR]/bin/thumb $[w.id] $[fvwm_mini_icon_size]\
>  $[FVWM_USERDIR]/tmp/mini_icon.tmp.$[w.id].png $[w.MiniIconFile]\
> 		&& echo WindowStyle EWMHMiniIconOverride, MiniIcon
> $[FVWM_USERDIR]/tmp/mini_icon.tmp.$[w.id].png || echo Nop"

Ciao

Dominik ^_^  ^_^

--

Dominik Vogt
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.