On Thu, Apr 12, 2012 at 06:31:47PM +0800, vinurs wrote: > Hi,all > I am a newcomer for mutt and tmux! > now I've configured using mutt to manage my mail, But in tmux, i want > show the mutt status on tmux left status line! > How can i do? > for example, I want to show how many emails in my mutt, and shows it > in tmux status line! and when new mail comes, the tmux status line can prompt > that a new mail comes! > I've written a script like the following: > while : > do > tmux display-message "hello" > sleep 3 > done > and run it in background, every 3 second it shows "hello" in tmus > status no matter whick tmux window i was in! But it looks unbeautiful, Is > there any method to show it in left stats line?
In the manual, for the status-left option: | #(shell-command) First line of the command's output Isn't it what you're after? > ------------------------------------------------------------------------------ > For Developers, A Lot Can Happen In A Second. > Boundary is the first to Know...and Tell You. > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > http://p.sf.net/sfu/Boundary-d2dvs2 > _______________________________________________ > tmux-users mailing list > tmux-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/tmux-users ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 _______________________________________________ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users