[xmonad] Toggle window decoration

Norbert Zeh nzeh at cs.dal.ca
Sat Feb 4 20:35:49 CET 2012


Brandon Allbery [2012.02.04 1425 -0500]:
> On Sat, Feb 4, 2012 at 14:09, Norbert Zeh <nzeh at cs.dal.ca> wrote:
> 
>     I'm currently experimenting with using window decorations
>     (NoFrillsDecoration at
>     this point).  While I normally want decorations on my windows, there are
>     situations where I would like to remove the decoration from individual
>     windows
>     and latter restore the decoration.  Is there already a layout modifier or
>     other
>     mechanism that does this?  If there isn't, that's no biggie because I have
>     an
> 
> 
> XMonad.Layout.MultiToggle
> One of the standard modifier toggles turns server-side borders on/off
> dynamically; you should be able to use the provided examples to work out how to
> toggle a Decorations-based modifier.

Cried hurray too quickly.  MultiToggle seems to operate on entire layouts.  If I
have, say, 4 windows on a decorated layout, what I'd like to do is leave 3 of
them decorated, while removing the decoration from only one of the windows.  By
"decoration", I don't mean borders.  I mean the title bar added by
NoFrillsDecoration and similar layout modifiers.

Cheers,
Norbert




More information about the xmonad mailing list