Discussion:
FVWM: FvwmIconMan: Sticky Icons..
Bastian
2011-02-21 16:05:05 UTC
Permalink
Hi there,

I failed to set up FvwmIconMan to only list sticky icons, where
either Sticky(Page|Desk) or Sticky(Page|Desk)Icon is set.

Is there a way for IconMan to evaluate arbitrary styles?

Does s.b. has any further thoughts/hints?

Thanks,
Bastian
Thomas Adam
2011-02-21 16:32:53 UTC
Permalink
Post by Bastian
Hi there,
I failed to set up FvwmIconMan to only list sticky icons, where
either Sticky(Page|Desk) or Sticky(Page|Desk)Icon is set.
Is there a way for IconMan to evaluate arbitrary styles?
But you can do this -- assuming you tell FvwmIconMan to not honour
WinListSkip.

Style * WindowListSkip
Style foo Sticky, WindowListHit
Style bar StickyPageIcon, WindowListHit
...

If you're doing this dynamically, and you're setting these through
WindowStyle, ensure you wrap it up in a function:

DestroyFunc ApplyStyleSticky
AddToFunc ApplyStyleSticky
+ I WindowStyle Sticky, ...., WindowListHit
+ I UpdateStyles

Going in the opposite direction:

DestroyFunc RemoveStyleSticky
AddToFunc RemoveStyleSticky
+ I DestroyWindowStyle
+ I UpdateStyles

You can bind similar things to FvwmEvent's "configure_window" event if you
want.

-- Thomas Adam
Bastian
2011-02-23 21:18:47 UTC
Permalink
Post by Thomas Adam
But you can do this -- assuming you tell FvwmIconMan to not honour
WinListSkip.
Style * WindowListSkip
Style foo Sticky, WindowListHit
Style bar StickyPageIcon, WindowListHit
Thanks Thomas,
this approach worked, but ofcourse it unconfigured my WindowList
setup, which I am used to work with as well.

Now I am doing, some kind af symbiosis between WindowList and
FvwmIconMan.



Cheers,
Thomas Adam
2011-02-23 21:28:00 UTC
Permalink
Post by Bastian
Post by Thomas Adam
But you can do this -- assuming you tell FvwmIconMan to not honour
WinListSkip.
Style * WindowListSkip
Style foo Sticky, WindowListHit
Style bar StickyPageIcon, WindowListHit
Thanks Thomas,
this approach worked, but ofcourse it unconfigured my WindowList
setup, which I am used to work with as well.
Now I am doing, some kind af symbiosis between WindowList and
FvwmIconMan.
Surely you can do all of this as I described, and in the case of your
WindowList, see:

WindowList UseSkipList

-- Thomas Adam
--
"It was the cruelest game I've ever played and it's played inside my head."
-- "Hush The Warmth", Gorky's Zygotic Mynci.
Loading...