aboutsummaryrefslogtreecommitdiff
path: root/base/tmux
diff options
context:
space:
mode:
authorAlexis Hovorka <[email protected]>2021-09-17 11:24:32 -0600
committerAlexis Hovorka <[email protected]>2021-09-17 11:24:32 -0600
commit7a106fc2bd2a18d68d4d2173dd8233fef8b5469a (patch)
treed9196bd1f7b8980860608f2e4c2ad027ab84d8af /base/tmux
parentdcf8f3b48c126f23afe0f41f688b307135050564 (diff)
[feat] Add prefix indicator to termux status
Diffstat (limited to 'base/tmux')
-rwxr-xr-xbase/tmux/status3
1 files changed, 2 insertions, 1 deletions
diff --git a/base/tmux/status b/base/tmux/status
index bb2ad9e..e96d10c 100755
--- a/base/tmux/status
+++ b/base/tmux/status
@@ -30,6 +30,7 @@ if tmux showenv TMUX_SHOW_TASK &>/dev/null; then
TASKLINE="$TASKCOUNT $TOPTASK. $(task $TASKCFG _get ${TOPTASK}.description) "
else TASKLINE=""; fi
-STATUS="$TASKLINE#[fg=colour19]#[bg=colour19,fg=colour7] %a %m.%d %R 💜"
+STATUS="$TASKLINE#[fg=colour19]#[bg=colour19,fg=colour7] %a %m.%d %R"
+STATUS="$STATUS #[fg=colour8]#{?client_prefix,#[bg=colour8]💛,💜}"
tmux set -g status-right-length "$(echo "$STATUS" | wc -c)"
tmux set -g status-right "$STATUS"