ENH don't use templating to manage remote session config
This commit is contained in:
parent
907d6d79ce
commit
f11e076094
|
@ -0,0 +1,2 @@
|
||||||
|
# remote tmux status bars go on bottom
|
||||||
|
set -g status-position bottom
|
|
@ -75,6 +75,5 @@ 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)
|
# 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"
|
set -g status-right "$wg_is_keys_off #{sysstat_cpu} | #{sysstat_mem} | #{sysstat_loadavg} | $wg_user_host"
|
||||||
|
|
||||||
{{- if eq .chezmoi.hostname "petrucci4prez" }}
|
# special stuff for remote sessions
|
||||||
set -g status-position bottom
|
if-shell 'test -n "$SSH_CLIENT"' 'source-file ~/.config/tmux/tmux.remote.conf'
|
||||||
{{- end }}
|
|
Loading…
Reference in New Issue