aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--base/tmux.conf2
-rwxr-xr-xbase/tmux/status3
2 files changed, 3 insertions, 2 deletions
diff --git a/base/tmux.conf b/base/tmux.conf
index 17868df..fb08eeb 100644
--- a/base/tmux.conf
+++ b/base/tmux.conf
@@ -24,7 +24,7 @@ set -g status-left-length 50
set -g status-right-length 30
set -g status-style "fg=colour8,bg=colour18"
set -g status-left "#(bash ~/.tmux/status)"
-set -g status-right "#[fg=colour19]#[bg=colour19,fg=colour7] %a %m.%d %R 💜"
+set -g status-right "#[fg=colour19]#[bg=colour19,fg=colour7] %a %m.%d %R #[fg=colour8]#{?client_prefix,#[bg=colour8]💛,💜}"
set -g window-status-format "#{?#W,#W,#I}#{?window_zoomed_flag,+,} #[default,fg=colour19]"
set -g window-status-current-format "#{?#W,#W,#I}#{?window_zoomed_flag,+,} #[nobold,fg=colour19]"
set -g window-status-current-style "fg=colour4,bold"
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"