From 38ffc198198a63548030dc529f26ba844798379e Mon Sep 17 00:00:00 2001 From: ndwarshuis Date: Sun, 13 Jun 2021 21:48:18 -0400 Subject: [PATCH] ENH don't use split config --- dot_config/tmux/tmux-remote.conf | 3 +-- dot_config/tmux/tmux.conf | 7 +++++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/dot_config/tmux/tmux-remote.conf b/dot_config/tmux/tmux-remote.conf index af5887f..6750da6 100644 --- a/dot_config/tmux/tmux-remote.conf +++ b/dot_config/tmux/tmux-remote.conf @@ -1,2 +1 @@ -# remote tmux status bars go on bottom -set -g status-position bottom \ No newline at end of file +# remote tmux status bars go on bottom \ No newline at end of file diff --git a/dot_config/tmux/tmux.conf b/dot_config/tmux/tmux.conf index 95e5789..c2de6e2 100644 --- a/dot_config/tmux/tmux.conf +++ b/dot_config/tmux/tmux.conf @@ -75,5 +75,8 @@ wg_is_keys_off="#[fg=$color_light,bg=$color_window_off_indicator]#([ $(tmux show # the sysstat stuff comes from a plugin (https://github.com/samoshkin/tmux-plugin-sysstat) set -g status-right "$wg_is_keys_off #{sysstat_cpu} | #{sysstat_mem} | #{sysstat_loadavg} | $wg_user_host" -# special stuff for remote sessions -if-shell 'test -n "$SSH_CLIENT"' 'source-file ~/.config/tmux/tmux.remote.conf' +{{- if eq .chezmoi.hostname "petrucci4prez" }} +set -g status-position top +{{- else }} +set -g status-position bottom +{{ end }}