[xmonad] announce: XMonad.Util.WindowProperties

gwern0 at gmail.com gwern0 at gmail.com
Wed Mar 19 17:47:59 EDT 2008


On 2008.03.19 22:31:02 +0200, Roman Cheplyaka <roma at ro-che.info> scribbled 1.8K characters:
> * gwern0 at gmail.com <gwern0 at gmail.com> [2008-03-19 16:26:07-0400]
> > On 2008.03.18 20:54:32 +0200, Roman Cheplyaka <roma at ro-che.info> scribbled 1.4K characters:
> > > Just pushed new module: XMonad.Util.WindowProperties.
> > >
> > > This module allows to specify window properties, such as title,
> > > classname or resource, and to check them.
> > > In contrast to ManageHook properties, these are instances of Show and
> > > Read, so they can be used in layout definitions etc.
> > >
> > > It was a part of IM layout before, and now I hope it will help Braden
> > > with his PlainConfig.
> > >
> > > --
> > > Roman I. Cheplyaka (aka Feuerbach @ IRC)
> >
> > Is this module intended to also eventually include setters of window properties? (I only see getters.)
>
> It isn't.
> Actually, I hear such idea for the first time. How do you see it?
>
> --
> Roman I. Cheplyaka (aka Feuerbach @ IRC)

Well, I was musing that there could be situations in which rewriting window properties on the fly could be useful. For example, you've seen my runOrRaise stuff? It doesn't work if, say, Emacs is inside a terminal. To solve this you would hypothetically write 'bind m "setWindowClass 'Emacs'"' (if you follow my pseudo-code). And who knows what other stuff you could do. For example, if you're allowed to create new window properties on a window, you could implement a per app copy-paste system!

--
gwern
52 GSS SHA DDPS Amn SSCI warfare Exon Pesec High
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.haskell.org/pipermail/xmonad/attachments/20080319/37cb8874/attachment.bin


More information about the xmonad mailing list