From c22c47f09ff79ff0f0e686b913aff9f1cccb22f1 Mon Sep 17 00:00:00 2001 From: eKa Date: Thu, 17 Oct 2019 14:37:08 +0500 Subject: [PATCH] =?UTF-8?q?=D0=9A=D0=BE=D1=80=D0=BE=D1=82=D0=BA=D0=B0?= =?UTF-8?q?=D1=8F=20=D0=B2=D0=B5=D1=80=D1=81=D0=B8=D1=8F=20user=5Fhost?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tmux/tmux.conf | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tmux/tmux.conf b/tmux/tmux.conf index b760a9e..839b14a 100644 --- a/tmux/tmux.conf +++ b/tmux/tmux.conf @@ -237,7 +237,12 @@ set -g status-right-length 100 wg_session="#[fg=$color_session_text] #S #[default]" wg_battery="#{battery_status_fg} #{battery_icon} #{battery_percentage}" wg_date="#[fg=$color_secondary]%h %d %H:%M#[default]" -wg_user_host="#[fg=$color_secondary]#(whoami)#[default]@#H" + +# Long version +#wg_user_host="#[fg=$color_secondary]#(whoami)#[default]@#H" +# Short version +wg_user_host="#[fg=$color_secondary]#(echo \${USER%%@*})#[default]@#h" + wg_is_zoomed="#[fg=$color_dark,bg=$color_secondary]#{?window_zoomed_flag,[Z],}#[default]" # TODO: highlighted for nested local session as well wg_is_keys_off="#[fg=$color_light,bg=$color_window_off_indicator]#([ $(tmux show-option -qv key-table) = 'off' ] && echo 'OFF')#[default]"