[Xmonad] xinerama and statusbar

David Roundy droundy at darcs.net
Fri Sep 14 13:29:59 EDT 2007


On Fri, Sep 14, 2007 at 10:24:29AM -0700, Don Stewart wrote:
> lobzang:
> > Hi
> > 
> > I'm using a custom statusbar with dzen, in a xinerama environment ( defaultGaps
> > = [(15,0,0,0)] in config file)
> > This starts well, however when I open a new window (term) on the second screen,
> > the statusbar is overlapped by the terminal window.
> 
> the status bar gap field is a list of geometries for each physical
> screen. to have a gap on the second screen, you'd use something like:
> 
>       = [(15,0,0,0), (15,0,0,0)]
> 
> we might default to running the same gap on all screens -- perhaps that
> is what most people expect?

Is there any way we can detect when a program appears to be a status bar?
Then we could simply adjust the gaps to compensate, which I suspect is what
people would really expect...
-- 
David Roundy
Department of Physics
Oregon State University


More information about the Xmonad mailing list