commit 1bb96994915fc098b84d0017a6fdfdde36200502 (patch)
parent afaa6691563c7df2262eb5ee78e856db5f33bc3e
Author: Alexander Karle <akarle@umass.edu>
Date: Sun, 18 Nov 2018 15:09:36 -0500
[tmux] custom status line!
Alacritty does not support tabs, so I'm back on the tmux train
for the time being.
Figured while I'm here I might as well invest in some nice looking
colors.
Diffstat:
1 file changed, 13 insertions(+), 1 deletion(-)
diff --git a/tmux.conf b/tmux.conf
@@ -49,4 +49,16 @@ set -s escape-time 0
set allow-rename off
# Patch for apps such as electron in tmux on osx
-set-option -g default-command "which reattach-to-user-namespace > /dev/null && reattach-to-user-namespace -l $SHELL || $SHELL"
+# set-option -g default-command "which reattach-to-user-namespace > /dev/null && reattach-to-user-namespace -l $SHELL || $SHELL"
+
+# Nicer colored status bar
+set -g status-style "fg=black,bg=brightblack"
+set -g message-command-style "fg=black,bg=brightblack"
+set -g message-style "fg=black,bg=brightblack"
+set -g window-status-current-style "fg=brightwhite,bg=blue"
+
+# Show clock + update every minute
+set -g status-right "[$USER@#h] [%m/%d/%y %I:%M]"
+set -g status-right-style "bg=magenta"
+set -g status-left-style "bg=yellow"
+set -g status-interval 60