0481603e62
macOS/Ubuntu/Arch config files for iTerm2, tmux, starship prompt, and fox kitsune fetch scripts in brand colors. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
167 lines
7.7 KiB
Bash
167 lines
7.7 KiB
Bash
# ╭──────────────────────────────────────────────────────────────╮
|
||
# │ ~/.tmux.conf · AygeaNight theme · 🦊 │
|
||
# │ Tokyo Night base · Aygea brand accent colors │
|
||
# ╰──────────────────────────────────────────────────────────────╯
|
||
#
|
||
# INSTALL:
|
||
# cp tmux.conf ~/.tmux.conf
|
||
# tmux source ~/.tmux.conf (or restart tmux)
|
||
#
|
||
# REQUIREMENTS:
|
||
# - tmux 3.2+ (for truecolor support)
|
||
# - A Nerd Font in iTerm2 for the separators and icons
|
||
# Recommended: JetBrainsMono Nerd Font or Hack Nerd Font
|
||
# Download: https://www.nerdfonts.com/font-downloads
|
||
# Set in: iTerm2 → Preferences → Profiles → Text → Font
|
||
# - Optional: tmux plugin manager (tpm) for plugins section at bottom
|
||
|
||
# ── General ─────────────────────────────────────────────────────
|
||
set -g default-terminal "tmux-256color"
|
||
set -ag terminal-overrides ",xterm-256color:RGB" # truecolor
|
||
set -ag terminal-overrides ",alacritty:RGB"
|
||
set -g mouse on # mouse support
|
||
set -g base-index 1 # windows from 1
|
||
set -g pane-base-index 1
|
||
set -g renumber-windows on
|
||
set -g history-limit 50000
|
||
set -g escape-time 0 # no ESC delay (important for vim/nvim)
|
||
set -g focus-events on
|
||
set -g set-clipboard on
|
||
set -g allow-passthrough on # OSC 52 clipboard over SSH
|
||
set -g extended-keys on
|
||
set -q -g status-utf8 on
|
||
set -wq -g utf8 on
|
||
|
||
# ── Prefix ──────────────────────────────────────────────────────
|
||
unbind C-b
|
||
set -g prefix C-a
|
||
bind C-a send-prefix
|
||
|
||
# ── Split panes (intuitive keys) ────────────────────────────────
|
||
bind | split-window -h -c "#{pane_current_path}"
|
||
bind - split-window -v -c "#{pane_current_path}"
|
||
bind c new-window -c "#{pane_current_path}"
|
||
unbind '"'
|
||
unbind %
|
||
|
||
# ── Pane navigation (vim-style) ──────────────────────────────────
|
||
bind h select-pane -L
|
||
bind j select-pane -D
|
||
bind k select-pane -U
|
||
bind l select-pane -R
|
||
|
||
# ── Pane resizing ────────────────────────────────────────────────
|
||
bind -r H resize-pane -L 5
|
||
bind -r J resize-pane -D 5
|
||
bind -r K resize-pane -U 5
|
||
bind -r L resize-pane -R 5
|
||
|
||
# ── Reload config ────────────────────────────────────────────────
|
||
bind r source-file ~/.tmux.conf \; display "🦊 tmux reloaded!"
|
||
|
||
# ═══════════════════════════════════════════════════════════════
|
||
# COLORS — AygeaNight Palette
|
||
# Tokyo Night base (#0F1020 bg) + Aygea brand accents
|
||
# ═══════════════════════════════════════════════════════════════
|
||
|
||
# Brand hex references (used in #[fg=...] below):
|
||
# Baby Blue: #AFCBFF Baby Blue Dark: #6A8FD3
|
||
# Deep Sapphire: #0F52BA Sapphire Dark: #083B89
|
||
# Soft Pink: #F8C8DC Pink Dark: #D88CA8
|
||
# Silver: #E6EEF8 Silver Dark: #C0D1E6
|
||
# Navy: #2A3A5E Navy Dark: #1B2438
|
||
# BG: #0F1020 (Tokyo Night base, blue-shifted)
|
||
|
||
bg_base="#0F1020"
|
||
bg_panel="#1B2438"
|
||
bg_active="#2A3A5E"
|
||
fg_main="#C0D1E6"
|
||
fg_dim="#3B4A75"
|
||
col_active="#AFCBFF"
|
||
col_pink="#D88CA8"
|
||
col_sapphire="#0F52BA"
|
||
col_accent="#6A8FD3"
|
||
col_sep="#2A3A5E"
|
||
|
||
# ── Pane borders ────────────────────────────────────────────────
|
||
set -g pane-border-style "fg=#2A3A5E"
|
||
set -g pane-active-border-style "fg=#6A8FD3"
|
||
|
||
# ── Message / command bar ────────────────────────────────────────
|
||
set -g message-style "fg=#AFCBFF,bg=#1B2438,bold"
|
||
set -g message-command-style "fg=#D88CA8,bg=#1B2438"
|
||
|
||
# ── Copy mode ───────────────────────────────────────────────────
|
||
set -g mode-style "fg=#0F1020,bg=#AFCBFF"
|
||
|
||
# ── Status bar — global ──────────────────────────────────────────
|
||
set -g status on
|
||
set -g status-position top
|
||
set -g status-interval 5
|
||
set -g status-justify left
|
||
set -g status-style "fg=#C0D1E6,bg=#0F1020"
|
||
|
||
# ── Status LEFT — session badge ──────────────────────────────────
|
||
# 🦊 [session-name] ›
|
||
set -g status-left-length 40
|
||
set -g status-left "\
|
||
#[fg=#0F1020,bg=#AFCBFF,bold] 🦊 \
|
||
#[fg=#0F1020,bg=#AFCBFF,bold]#{session_name} \
|
||
#[fg=#AFCBFF,bg=#2A3A5E,nobold]\
|
||
#[fg=#6A8FD3,bg=#2A3A5E] \
|
||
#[fg=#2A3A5E,bg=#0F1020]\
|
||
#[fg=#3B4A75,bg=#0F1020] "
|
||
|
||
# ── Window list (center) ─────────────────────────────────────────
|
||
set -g window-status-separator ""
|
||
|
||
# Inactive window
|
||
set -g window-status-format "\
|
||
#[fg=#0F1020,bg=#0F1020] \
|
||
#[fg=#3B4A75,bg=#1B2438] #I \
|
||
#[fg=#C0D1E6,bg=#1B2438]#W \
|
||
#[fg=#1B2438,bg=#0F1020]"
|
||
|
||
# Active window — baby blue highlight
|
||
set -g window-status-current-format "\
|
||
#[fg=#0F1020,bg=#0F1020]\
|
||
#[fg=#0F1020,bg=#6A8FD3,bold] #I \
|
||
#[fg=#0F1020,bg=#AFCBFF,bold]#W \
|
||
#[fg=#AFCBFF,bg=#0F1020,nobold]"
|
||
|
||
# Window with activity
|
||
set -g window-status-activity-style "fg=#D88CA8,bg=#1B2438"
|
||
set -g window-status-bell-style "fg=#F8C8DC,bg=#1B2438,bold"
|
||
|
||
# ── Status RIGHT — system info ───────────────────────────────────
|
||
set -g status-right-length 120
|
||
set -g status-right "\
|
||
#[fg=#2A3A5E,bg=#0F1020]\
|
||
#[fg=#C0D1E6,bg=#2A3A5E] #(whoami) \
|
||
#[fg=#1B2438,bg=#2A3A5E]\
|
||
#[fg=#6A8FD3,bg=#1B2438,bold] \
|
||
#[fg=#AFCBFF,bg=#1B2438]%H:%M \
|
||
#[fg=#6A8FD3,bg=#1B2438] ⁞ \
|
||
#[fg=#C0D1E6,bg=#1B2438]%a %d %b \
|
||
#[fg=#0F52BA,bg=#1B2438]\
|
||
#[fg=#E6EEF8,bg=#0F52BA,bold] ♡ "
|
||
|
||
# ── Clock mode ───────────────────────────────────────────────────
|
||
set -g clock-mode-colour "#AFCBFF"
|
||
set -g clock-mode-style 24
|
||
|
||
# ═══════════════════════════════════════════════════════════════
|
||
# PLUGINS (optional — requires tpm)
|
||
# Install tpm first:
|
||
# git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
|
||
# Then press prefix + I to install plugins
|
||
# ═══════════════════════════════════════════════════════════════
|
||
|
||
# set -g @plugin 'tmux-plugins/tpm'
|
||
# set -g @plugin 'tmux-plugins/tmux-sensible'
|
||
# set -g @plugin 'tmux-plugins/tmux-resurrect' # save/restore sessions
|
||
# set -g @plugin 'tmux-plugins/tmux-continuum' # auto-save sessions
|
||
# set -g @continuum-restore 'on'
|
||
|
||
# run '~/.tmux/plugins/tpm/tpm'
|