Re: [STUMP] urgent notification in mode-line

Mehul Sanghvi <[email protected]>
Newsgroups gmane.comp.window-managers.stumpwm.devel
Message-ID <CAPo9-A8Ptz1g0b3aTHwOwAYGeH5XhiVOR7Lr1Sr7danDrKj=hw@mail.gmail.com>
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 <[email protected]>
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 <[email protected]> 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: [email protected]

_______________________________________________
Stumpwm-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/stumpwm-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.