[Xmonad] darcs patch: first shot at a floating layer

Donald Bruce Stewart dons at cse.unsw.edu.au
Thu May 31 23:13:31 EDT 2007


xmonad:
> David Roundy <droundy at darcs.net> writes:
> 
> > On Thu, May 31, 2007 at 09:37:34PM +0100, Bruce Stephens wrote:
> 
> [...]
> 
> >> Maybe there's a place for a per-screen decoration layer, always
> >> visible, in which I can stick clocks, status bars, GNOME panels, etc.?
> >> Hmm, maybe just things that just display information (rather than
> >> interact)?  (And then maybe I could use xcompmgr or something to make
> >> them translucent?)
> >
> > Let's keep the number of layers down, and just allow windows to be present
> > in multiple workspaces.
> 
> Ah, but that's tricky for xinerama, as I understand it.  Anyway, I was
> just suggesting one new layer per screen, so that doesn't feel huge.
> Admittedly, presumably it's conceptually a new kind of layer, which is
> bad.  And maybe it's not worth it.
> 
> My hunch is the right way to do this is to have some windows always
> present on a screen.  I'm thinking of that in terms of something like
> the new floating layers, but maybe there's a cleaner way to do it.

I note that by explicitly unmanaging a window, and using float mode to
move it into the gap, you can set any client whatsoerver as sticky/
statusbar:

        , ((modMask .|. shiftMask,  xK_u    ), withFocused unmanage) 

-- Don



More information about the Xmonad mailing list