[Top][All Lists]

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

Re: How to make hardstatus shows activity of window?

From: Phil!Gregory
Subject: Re: How to make hardstatus shows activity of window?
Date: Wed, 22 Sep 2004 10:51:40 -0400
User-agent: Mutt/1.5.6+20040803i

* Chan Wai Wa, Raymond <address@hidden> [2004-09-22 15:14 +0800]:
> hardstatus string "%{.bW}%-w%{.rW}%n %t%{-}%+w %=%{..G} %H %{..Y} %m/%d %C%a "
> I searched for the usage of this but has no result, do anyone know how
> to modify the string to make it shows sth to let me know which window
> has activity like what i see when i press "^a w"?

You want to add window flags to the display.  For the window list escapes
(%w), add the 'L' qualifier: '%-w' becomes '%-Lw' and '%+w' becomes '%Lw'.
Where you're displaying th info for the current window ('%n %t'), add the
'%f' escape.  The 'windows' command also puts an asterisk on the current
windows, which the '%f' escape does not, so I add it in manually.  Instead
of '%n %t', I use '%n*%f %t'.

-- contrarian of the first order... /
PGP: 026A27F2  print: D200 5BDB FC4B B24A 9248  9F7A 4322 2D22 026A 27F2
--- --
We are sorry, but you have reached an imaginary number.  Please rotate
your phone ninety degrees and try again.
---- --- --

reply via email to

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