2026-10-06 23:11:07 -04:00
|
|
|
# DevDesk tmux configuration, loaded by devdesk-tmux.service.
|
|
|
|
|
# Local overrides: /etc/devdesk/tmux.local.conf (sourced last).
|
|
|
|
|
|
|
|
|
|
# --- terminal behaviour -------------------------------------------------------
|
|
|
|
|
set -s escape-time 10 # Esc reaches Claude (interrupt) immediately
|
|
|
|
|
set -s focus-events on
|
|
|
|
|
set -s set-clipboard on # tmux copy-mode -> OSC 52 -> browser clipboard
|
|
|
|
|
set -s default-terminal "tmux-256color"
|
2026-10-07 20:15:47 -04:00
|
|
|
set -s terminal-features[90] "xterm-256color:RGB" # fixed index: re-sourcing must not append
|
2026-10-06 23:11:07 -04:00
|
|
|
set -g history-limit 50000
|
|
|
|
|
set -g mouse on # wheel scrolls history; Shift+drag selects natively
|
2026-10-07 20:15:47 -04:00
|
|
|
set -g allow-passthrough off # output may not bypass tmux (title/clipboard spoofing)
|
2026-10-06 23:11:07 -04:00
|
|
|
set -g renumber-windows on
|
|
|
|
|
|
|
|
|
|
# --- bells reach the browser (Claude's terminal_bell notifications) ----------
|
|
|
|
|
set -g bell-action any
|
|
|
|
|
set -g visual-bell off
|
|
|
|
|
set -g monitor-bell on
|
|
|
|
|
|
|
|
|
|
# --- titles: the web UI parses "devdesk:<session>|<pane title>" ---------------
|
|
|
|
|
set -g set-titles on
|
|
|
|
|
set -g set-titles-string "devdesk:#S|#T"
|
|
|
|
|
|
|
|
|
|
# --- every new session gets a spare shell next to Claude ---------------------
|
|
|
|
|
set-hook -g session-created "new-window -d -n shell"
|
|
|
|
|
|
2026-10-08 00:32:23 -04:00
|
|
|
# --- colours ---------------------------------------------------------------------
|
|
|
|
|
# ANSI colour names, not hex: the browser maps them through its dark or light
|
|
|
|
|
# palette, so the status bar follows DevDesk's theme (devdesk#31). black is the
|
|
|
|
|
# bar, white muted text, cyan the accent, yellow the session name.
|
2026-10-06 23:11:07 -04:00
|
|
|
set -g status-position bottom
|
2026-10-08 00:32:23 -04:00
|
|
|
set -g status-style "bg=black,fg=white"
|
|
|
|
|
set -g status-left "#[fg=yellow,bold] #S #[fg=brightblack,nobold]│ "
|
2026-10-06 23:11:07 -04:00
|
|
|
set -g status-left-length 40
|
2026-10-07 20:15:47 -04:00
|
|
|
set -g status-right ""
|
2026-10-06 23:11:07 -04:00
|
|
|
set -g window-status-format " #I:#W "
|
2026-10-08 00:32:23 -04:00
|
|
|
set -g window-status-current-format "#[fg=cyan,reverse,bold] #I:#W "
|
|
|
|
|
set -g window-status-bell-style "fg=yellow,bold"
|
|
|
|
|
set -g message-style "bg=black,fg=cyan"
|
|
|
|
|
set -g mode-style "fg=cyan,reverse"
|
|
|
|
|
set -g pane-border-style "fg=brightblack"
|
|
|
|
|
set -g pane-active-border-style "fg=cyan"
|
2026-10-06 23:11:07 -04:00
|
|
|
|
|
|
|
|
source-file -q /etc/devdesk/tmux.local.conf
|