aboutsummaryrefslogtreecommitdiff
path: root/tmux.conf
diff options
context:
space:
mode:
authorMitch Riedstra <mitch@riedstra.us>2019-05-10 00:09:31 -0400
committerMitch Riedstra <mitch@riedstra.us>2019-05-10 00:09:31 -0400
commit6d500848287cd790ec2cab62d4f471686c4eb22d (patch)
tree8bac6a5dc8e8bfa171cbe21aa07f9314a7cbb600 /tmux.conf
parent6890c5d1741a81d9c35fcd5574abc26fdbbf7f3f (diff)
downloaddotfiles-6d500848287cd790ec2cab62d4f471686c4eb22d.tar.gz
dotfiles-6d500848287cd790ec2cab62d4f471686c4eb22d.tar.xz
Update the configuration to support tmux 2.9
Diffstat (limited to 'tmux.conf')
-rw-r--r--tmux.conf16
1 files changed, 12 insertions, 4 deletions
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