20 lines
571 B
Bash
Executable File
20 lines
571 B
Bash
Executable File
#!/bin/bash
|
|
# Start sethmux session with AI-workflow windows
|
|
SESSION="sethmux"
|
|
|
|
# Kill stale session
|
|
tmux kill-session -t "$SESSION" 2>/dev/null
|
|
sleep 0.5
|
|
|
|
# Create session with named windows
|
|
tmux new-session -d -s "$SESSION" -n "code" -x 120 -y 40
|
|
tmux new-window -t "$SESSION" -n "git"
|
|
tmux new-window -t "$SESSION" -n "run"
|
|
tmux new-window -t "$SESSION" -n "logs"
|
|
tmux new-window -t "$SESSION" -n "help" "/opt/sethmux/sethmux-help.sh"
|
|
tmux set-option -t "$SESSION:help" -p remain-on-exit on
|
|
tmux select-window -t "$SESSION:1"
|
|
|
|
# Ensure logs dir exists
|
|
mkdir -p ~/logs
|