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: Tassilo Horn
Subject: Re: [STUMP] stumpwm 100% CPU usage and no modeline
Date: Sat, 24 May 2008 09:39:38 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

John Li <address@hidden> writes:

Hi John,

> 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)

That's what I have in my ~/.stumpwmrc.

Bye,
Tassilo




reply via email to

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