mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 13:37:12 +00:00
Set colour of window entry in status line based on window options.
This commit is contained in:
24
CHANGES
24
CHANGES
@ -1,5 +1,27 @@
|
||||
29 January 2009
|
||||
|
||||
* Window options to set status line fg, bg and attributes for a single
|
||||
window. Options are: window-status-fg, window-status-bg,
|
||||
window-status-attr. Set to "default" to use the session status colours.
|
||||
|
||||
This allows quite neat things like:
|
||||
|
||||
$ cat xssh
|
||||
#!/bin/sh
|
||||
|
||||
if [ ! -z "$TMUX" ]; then
|
||||
case "$1" in
|
||||
natalya)
|
||||
tmux setw window-status-fg red >/dev/null
|
||||
;;
|
||||
natasha)
|
||||
tmux setw window-status-fg yellow >/dev/null
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
ssh "$@"
|
||||
[ ! -z "$TMUX" ] && tmux setw -u window-status-fg >/dev/null
|
||||
|
||||
* Support #(command) in status-left, and status-right, which is displayed as
|
||||
the first line of command's output (e.g. set -g status-right
|
||||
"#(whoami)@#(hostname -s)"). Commands with )s aren't supported.
|
||||
@ -1043,7 +1065,7 @@
|
||||
(including mutt, emacs). No status bar yet and no key remapping or other
|
||||
customisation.
|
||||
|
||||
$Id: CHANGES,v 1.241 2009-01-29 23:35:14 tcunha Exp $
|
||||
$Id: CHANGES,v 1.242 2009-01-30 00:24:49 nicm Exp $
|
||||
|
||||
LocalWords: showw utf UTF fulvio ciriaco joshe OSC APC gettime abc DEF OA clr
|
||||
LocalWords: rivo nurges lscm Erdely eol smysession mysession ek dstname RB ms
|
||||
|
Reference in New Issue
Block a user