From f5a073e428a1c75903110719ad4984c96a98f35d Mon Sep 17 00:00:00 2001 From: Daniel Lundin Date: Tue, 30 Jan 2018 20:50:46 +0100 Subject: [PATCH] tmux: conditional colors to distinguish hosts --- .tmux.conf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.tmux.conf b/.tmux.conf index 1c4a5b1..0f9dcca 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -96,6 +96,10 @@ set -g status-bg "#222222" set -g status-left '#[bg=#114400,fg=#77aa22] #I #[bg=#334455,fg=#7799aa] #h #[default] ' set -g status-right '#[bg=#222222,fg=#666666] | #{battery_percentage} #{battery_remain} | #(date +"%R") ' +if-shell 'test $HOST = dredd' set -g status-left '#[bg=#114400,fg=#77aa22] #I #[bg=#0055aa,fg=#aabbcc] #h #[default] ' +if-shell 'test $HOST = seed-dlundin4' set -g status-left '#[bg=#114400,fg=#77aa22] #I #[bg=#339900,fg=#000000] #h #[default] ' + + # Startup new -d -s0 'exec zsh' neww -d 'exec zsh'