stumpwm-devel
[Top][All Lists]
Advanced

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

Re: [STUMP] urgent notification in mode-line


From: Mehul Sanghvi
Subject: Re: [STUMP] urgent notification in mode-line
Date: Thu, 9 Oct 2014 12:01:39 -0400

I did a better search in the code and came up with the following:

mode-line.lisp:  117:  (#\u fmt-urgent-window-list)

This is in the defvar for *screen-mode-line-formatters*, but is not listed
in the doc string for *screen-mode-line-format*.  So it seems %u should
do what I'm looking for.  

Seems like half the formatters are not in the doc string for *screen-mode-line-format*.


cheers,

       mehul

On Thu, Oct 9, 2014 at 11:12 AM, David Bjergaard <address@hidden> wrote:
Hi Mehul,

Grepping the code gives `window-urgent-p', which you could use to build
your own modeline string from a function.  As far as built-in
functionality, I'm unaware of a formatting flag that you could use.

If you do come up with something, share it here and maybe I can
incorporate it into a release. (or better yet, open a pull request :))

    Dave

Mehul Sanghvi <address@hidden> writes:

> Is there a way to get some notification in the mode-line based a
> windows' urgency status ?
>
> Looking at the source, I didn't see anything obvious about what I
> could use in the mode-line
> format to enable that.
>
> cheers,
>
> mehul



--
Mehul N. Sanghvi
email: address@hidden

reply via email to

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