Complete the presentation layer with popup queue picker, keybindings, and status-line segment. Changes: - bin/trailboss-popup: Rewritten with python3 JSON parsing, box drawing UI, and index-based selection that navigates directly to chosen pane - bin/trailboss-status: Status-line segment showing "⚠ N" when stuck - tmux.conf: Keybindings for Next (prefix+Tab), Skip (prefix+s), Popup (prefix+g) - test-presentation.sh: Phase 5 exit criterion tests (all passing) Verified: CLI commands work, popup lists queue with selection, status shows stuck count, keybindings configured. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
15 lines
746 B
Bash
15 lines
746 B
Bash
# Trail Boss keybindings for tmux
|
|
# Source this from your ~/.tmux.conf: bind -r 'run-shell "cat /path/to/trail-boss/tmux.conf | sh -s %{pane_id}"'
|
|
# Or add the bindings directly.
|
|
|
|
# All bindings use prefix to avoid stealing keys from interactive sessions
|
|
# Default prefix is Ctrl-b; customize with: bind-key -n C-t set prefix
|
|
|
|
# Next (prefix + Tab) — jump to head-of-queue pane
|
|
bind-key -T prefix Tab run-shell "trailboss jump-next || tmux display 'Trail Boss: queue empty'"
|
|
|
|
# Skip (prefix + s) — skip current head, jump to next
|
|
bind-key -T prefix s run-shell "trailboss skip || tmux display 'Trail Boss: queue empty'"
|
|
|
|
# Popup (prefix + g) — show queue picker overlay
|
|
bind-key -T prefix g display-popup -E -w 80% -h 60% "trailboss popup"
|