Re: [STUMP] urgent notification in mode-line
David Bjergaard <[email protected]>
| Newsgroups | gmane.comp.window-managers.stumpwm.devel |
|---|---|
| Message-ID | <[email protected]> |
Thanks for pointing that out! I will update the docstring for the next
release.
Dave
Mehul Sanghvi <[email protected]> writes:
> 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