Add <prefix>A binding to display-popup with agent.sh

Enables the use of AI agents (claude, gemini) in a persistent
display-popup, backed by a tmux session, via the <prefix>A binding.
This commit is contained in:
2026-01-29 11:22:22 +00:00
parent 2d4858ac11
commit bb0bc511a6
3 changed files with 56 additions and 1 deletions

View File

@@ -4,6 +4,6 @@ session_name=$(tmux display-message -p '#S')
session_layout=~/.local/share/tmux/layouts/session-$session_name
if [ -f $session_layout ]; then
$session_layout
else
elif [ "$session_name" != "agent" ]; then
tmux rename-window home
fi