diff options
author | Alexis Hovorka <[email protected]> | 2021-02-18 22:52:41 -0700 |
---|---|---|
committer | Alexis Hovorka <[email protected]> | 2021-02-18 22:52:41 -0700 |
commit | 5f1efdafc8e0bd10263df50b5140a4f28b28ea54 (patch) | |
tree | 1741d54385ba6afb9e7bd88eee760a3f64106fdd /base | |
parent | 2f8c12777d1a90c7e4025a5b0c9c9f1aff19b14c (diff) |
[fix] Make tmux status-left work in termux
Because termux-exec is still broken for now
Diffstat (limited to 'base')
-rw-r--r-- | base/tmux.conf | 2 | ||||
-rwxr-xr-x | 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 |