From 6d500848287cd790ec2cab62d4f471686c4eb22d Mon Sep 17 00:00:00 2001 From: Mitch Riedstra Date: Fri, 10 May 2019 00:09:31 -0400 Subject: Update the configuration to support tmux 2.9 --- tmux.conf | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) (limited to 'tmux.conf') diff --git a/tmux.conf b/tmux.conf index 100ed9b..a7937a5 100644 --- a/tmux.conf +++ b/tmux.conf @@ -1,7 +1,15 @@ -set -g status-bg green -set -g status-fg black -set-window-option -g window-status-current-bg black -set-window-option -g window-status-current-fg green + +# *OLD* way to set styles +# set -g status-bg green +# set -g status-fg black +# set-window-option -g window-status-current-bg black +# set-window-option -g window-status-current-fg green + +# New way: +set -g status-style "fg=green,bg=black" +set-window-option -g window-status-current-style "bg=green,fg=black" +set -g status-right "#[fg=black,bg=green] #(whoami)@#h|m:#(sh $HOME/.tmux_helper.sh memory)|l:#(sh $HOME/.tmux_helper.sh load)|#(sh $HOME/.tmux_helper.sh s_uptime)" + # Pretty nifty little option to mirror input for all panes bind M-s setw synchronize-panes -- cgit v1.2.3