projects
/
dotfiles.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
c61cd65
)
tmux - modify the status line
author
Peng Li
<seudut@gmail.com>
Sat, 18 Feb 2017 18:33:03 +0000
(
02:33
+0800)
committer
Peng Li
<seudut@gmail.com>
Sat, 18 Feb 2017 18:33:03 +0000
(
02:33
+0800)
tmux.conf
patch
|
blob
|
history
diff --git
a/tmux.conf
b/tmux.conf
index
1a14434
..
61c2c15
100755
(executable)
--- a/
tmux.conf
+++ b/
tmux.conf
@@
-11,7
+11,7
@@
set -g status-bg black
set-window-option -g window-status-current-bg red
#set-option -g status-right "#[fg=green]#T #[fg=yellow,bold]#(date '+%Y-%m-%d %I:%M%P %a') "
#set-option -g status-right "#[fg=green]#(whoami) #[fg=yellow,bold]#(date '+%Y-%m-%d') #[fg=red,bold]#(date '+%I:%M') #[fg=yellow,bold]#(date '+%p %a') "
set-window-option -g window-status-current-bg red
#set-option -g status-right "#[fg=green]#T #[fg=yellow,bold]#(date '+%Y-%m-%d %I:%M%P %a') "
#set-option -g status-right "#[fg=green]#(whoami) #[fg=yellow,bold]#(date '+%Y-%m-%d') #[fg=red,bold]#(date '+%I:%M') #[fg=yellow,bold]#(date '+%p %a') "
-set-option -g status-right "#[fg=yellow]#(date '+%Y-%m-%d') #[fg=red]#(date '+%I:%M') #[fg=yellow]#(date '+%p %a') "
+set-option -g status-right "
[#[fg=green]#(hostname)#[fg=white]]
#[fg=yellow]#(date '+%Y-%m-%d') #[fg=red]#(date '+%I:%M') #[fg=yellow]#(date '+%p %a') "
## automatic change the window title
#set-option -g set-titles on
## automatic change the window title
#set-option -g set-titles on