From 80ca1d4299f0d55a5288ec26902ea6ffb66355cf Mon Sep 17 00:00:00 2001 From: EoF Date: Thu, 19 Sep 2019 21:09:56 +0500 Subject: [PATCH] =?UTF-8?q?=09=D0=B8=D0=B7=D0=BC=D0=B5=D0=BD=D0=B5=D0=BD?= =?UTF-8?q?=D0=BE:=20=20=20=20=20=20tmux/utils/status-switch.sh?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tmux/utils/status-switch.sh | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/tmux/utils/status-switch.sh b/tmux/utils/status-switch.sh index c4d216d..7a225eb 100755 --- a/tmux/utils/status-switch.sh +++ b/tmux/utils/status-switch.sh @@ -5,16 +5,7 @@ if [ -n "$SSH_CONNECTION" ]; then # Show status bar at bottom for remote session, # so it do not stack together with local session's one tmux set status-position bottom - - # In remote mode we don't show "clock" and "battery status" widgets - set status-left "$wg_session" - set status-right "#{prefix_highlight} $wg_is_keys_off $wg_is_zoomed #{sysstat_cpu} | #{sysstat_mem} | #{sysstat_loadavg} | $wg_user_host | #{online_status}" - - # Set port of SSH remote tunnel, where tmux will pipe buffers to transfer on local machine for copy - # set -g @copy_backend_remote_tunnel_port 11988 else - # Just unset session-variables for local session + # Just unset session-variable for local session tmux set -u status-position - tmux set -u status-left - tmux set -u status-right fi