From 4dffd92c1d9b2e7d3cb5b62ff980bdca121ec8cc Mon Sep 17 00:00:00 2001 From: Yan Lin Date: Wed, 30 Jul 2025 23:01:07 +0200 Subject: [PATCH] Add time display to tmux status bar MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add %H:%M time format to the right side of the tmux status bar alongside the existing prefix indicator. Increased status-right-length to 30 to accommodate the time display. 🤖 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 0d3c9b1..b926c7c 100644 --- a/modules/tmux.nix +++ b/modules/tmux.nix @@ -35,9 +35,9 @@ # Status bar content set -g status-left-length 40 - set -g status-right-length 20 + set -g status-right-length 30 set -g status-left ' #S ' - set -g status-right '#{?client_prefix,#[reverse]#[noreverse] ,}' + set -g status-right '#{?client_prefix,#[reverse]#[noreverse] ,}%H:%M ' # Window status format set -g window-status-format ' #I:#W '