From a2088ce19f51c8b446d6f45a501a01a25e18bdb9 Mon Sep 17 00:00:00 2001 From: Yan Lin Date: Wed, 30 Jul 2025 23:07:42 +0200 Subject: [PATCH] Replace text-based prefix indicator with session name color change MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Remove asymmetric text indicator from status-right - Change session name background color when prefix is active: - Normal: gray background (#a89984) - Prefix active: yellow background (#fabd2f) - Simplify time display to consistent ' %H:%M ' format - Provides cleaner, more elegant visual prefix indication 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- modules/tmux.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/tmux.nix b/modules/tmux.nix index 13bed5f..a583ec9 100644 --- a/modules/tmux.nix +++ b/modules/tmux.nix @@ -36,8 +36,8 @@ # Status bar content set -g status-left-length 40 set -g status-right-length 30 - set -g status-left ' #S ' - set -g status-right '#{?client_prefix,#[reverse]#[noreverse] ,} %H:%M ' + set -g status-left '#{?client_prefix,#[bg=#fabd2f],#[bg=#a89984]}#[fg=#282828] #S #[default]' + set -g status-right ' %H:%M ' # Window status format set -g window-status-format ' #I:#W '