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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user