From 5f1efdafc8e0bd10263df50b5140a4f28b28ea54 Mon Sep 17 00:00:00 2001 From: Alexis Hovorka Date: Thu, 18 Feb 2021 22:52:41 -0700 Subject: [fix] Make tmux status-left work in termux Because termux-exec is still broken for now --- base/tmux.conf | 2 +- base/tmux/status-left | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/base/tmux.conf b/base/tmux.conf index 6d0b2e9..dc6d6a6 100644 --- a/base/tmux.conf +++ b/base/tmux.conf @@ -23,7 +23,7 @@ set -g status-position top set -g status-left-length 50 set -g status-right-length 30 set -g status-style "fg=colour8,bg=colour18" -set -g status-left "#(~/.tmux/status-left)" +set -g status-left "#(bash ~/.tmux/status-left)" set -g status-right "#[fg=colour19]#[bg=colour19,fg=colour7] %a %m.%d %R 💜" set -g window-status-format "#W #[default,fg=colour19]" set -g window-status-current-format "#W #[default,fg=colour19]" diff --git a/base/tmux/status-left b/base/tmux/status-left index 77e04dd..da73711 100755 --- a/base/tmux/status-left +++ b/base/tmux/status-left @@ -2,6 +2,6 @@ STATUS="#[bg=colour$HOST_COLOR]#[fg=black] $SHORT_HOSTNAME" if [[ `tmux ls | wc -l` -gt 1 ]]; then STATUS="$STATUS  #S"; fi -STATUS="$STATUS #[fg=colour$HOST_COLOR]#[bg=colour18] #($0)" +STATUS="$STATUS #[fg=colour$HOST_COLOR]#[bg=colour18] #(bash $0)" tmux set -g status-left "$STATUS" #█ ^Vue0b0 -- cgit v1.2.3-70-g09d2