stumpwm-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [STUMP] stumpwm 100% CPU usage and no modeline


From: John Li
Subject: Re: [STUMP] stumpwm 100% CPU usage and no modeline
Date: Sat, 24 May 2008 07:28:32 -0400
User-agent: Mutt/1.5.17+20080114 (2008-01-14)

On Sat, May 24, 2008 at 09:39:38AM +0200, Tassilo Horn wrote:
> John Li <address@hidden> writes:
>
> > I added "(mode-line)" to my .stumpwmrc to have it started when stumpwm
> > starts. This is a toggle though, so running loadrc will toggle it off
> > again. So I replaced it with:
> >
> > (if (head-mode-line (current-head))
> >     nil
> >     (mode-line))
>
> There's another function `enable-mode-line' which doesn't act as a
> toggle:
>
>   (enable-mode-line (current-screen) (current-head) t)

Oh, neat - I didn't notice that.

My stumpwmrc now has:

(dolist (h (screen-heads (current-screen)))
  (enable-mode-line (current-screen) h t))

For opening mode-lines on my multi-head setup.


-john




reply via email to

[Prev in Thread] Current Thread [Next in Thread]