summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tmux/tmux.conf4
1 files changed, 4 insertions, 0 deletions
diff --git a/tmux/tmux.conf b/tmux/tmux.conf
index 6dd48af..8147790 100644
--- a/tmux/tmux.conf
+++ b/tmux/tmux.conf
@@ -35,6 +35,10 @@ bind-key P setw synchronize-panes on
bind-key r source-file ~/.config/tmux/tmux.conf \; display-message "~/.config/tmux/tmux.conf reloaded"
bind-key T choose-tree
+# Toggle "A-" prefix on the current session name (marks the session as an
+# agent workload). Pressing it again strips the prefix.
+bind-key @ run-shell 'cur=$(tmux display-message -p "#S"); case "$cur" in A-*) tmux rename-session "${cur#A-}" ;; *) tmux rename-session "A-$cur" ;; esac'
+
set-option -g pane-active-border-style fg=magenta,bold
set -g status-right '#{@hexai_status} #[fg=colour8]| %H:%M'