clawdie-iso/live/operator-session/panel-skel/.config/tmux/tmux.conf
Sam & Claude 7b245d6f65 feat(iso): ship kitty.conf + tmux.conf defaults and xterm rescue fallback
Closes the OOTB config gaps from the kitty swap (b4c86b6). Kitty installed but
shipped with bare defaults and no tmux passthrough; rescue path lost its
headless fallback when xfce4-terminal was removed.

Changes:
- panel-skel/.config/kitty/kitty.conf: font 13pt (Hack, from hack-font pkg),
  quiet-dark theme + full 16-color palette, scrollback, tab bar, beam cursor.
  Lands at ~/.config/kitty/kitty.conf for the clawdie user via existing
  panel-skel staging (no build.sh change).
- panel-skel/.config/tmux/tmux.conf: extended-keys on + csi-u so modifier
  keys (Shift-Enter, Ctrl-Arrow, Alt-Enter) reach TUIs (pi, zot, colibri-tui)
  run inside tmux. XDG path (~/.config/tmux/tmux.conf), read natively by the
  live USB's tmux 3.5a. Plus escape-time 0, focus-events, mouse, sane indexing.
- clawdie-xfce-session-inner: rescue terminal now falls back kitty -> xterm.
  Kitty is GPU-only; without a GL surface (bhyve no-GPU VMs) it can fail to
  start, leaving the operator with no rescue shell. xterm stays installed.

No build.sh change needed: both configs ride the existing
`cp -R panel-skel/.config/.` into /etc/skel/.config and /home/clawdie/.config
(build.sh:2087, :2095).

Pre-merge: confirm `pkg search kitty` on the FreeBSD build host (couldn't
reach the network from the dev sandbox).

(Sam & Claude)
2026-06-25 20:24:55 +02:00

31 lines
1.4 KiB
Bash

# Clawdie operator USB — tmux defaults
# Ships at ~/.config/tmux/tmux.conf (tmux 3.1+ reads the XDG path; the live
# USB's tmux port is 3.5a). Reload after edits:
# tmux source-file ~/.config/tmux/tmux.conf
# ── Modifier-key passthrough (the reason this file exists) ─
# Kitty reports Shift/Ctrl/Alt-modified keys; tmux must forward them so TUIs
# (pi, zot, colibri-tui) receive Shift-Enter, Ctrl-Arrow, Alt-Enter, etc.
# csi-u is the most reliable format and needs tmux 3.5+ (we have 3.5a).
set -g extended-keys on
set -g extended-keys-format csi-u
# ── Responsiveness ──────────────────────────────────────────
# Zero escape time so TUIs (ratatui, pi, vim) feel instant; forward focus
# events so apps that track focus react promptly.
set -s escape-time 0
set -sg focus-events on
# ── History ─────────────────────────────────────────────────
set -g history-limit 50000
# ── Window numbering matches the keyboard, renumber on close ─
set -g base-index 1
setw -g pane-base-index 1
set -g renumber-windows on
# ── Mouse (operator convenience: select, scroll, resize) ────
set -g mouse on
# ── Don't let running apps rename windows out from under us ─
set -g allow-rename off