aurora2f3c197
minimal tmux config
+53 −35
1 file changed
- M .config/tmux/tmux.conf +53 −35
| @@ -1,39 +1,13 @@ | |||
| 1 | + | # ================================ | |
| 2 | + | # TMUX • Transparent Minimal Rice | |
| 3 | + | # ================================ | |
| 1 | 4 | ||
| 2 | − | ##### tmux.conf - tuned for Foot (Wayland) + preserve transparency + truecolor ##### | |
| 3 | − | ||
| 4 | − | # responsiveness | |
| 5 | − | set -s escape-time 0 | |
| 6 | − | set-option -g history-limit 5000 | |
| 7 | − | ||
| 8 | − | # prefix | |
| 5 | + | # -------- Keybinds --------- | |
| 9 | 6 | unbind C-b | |
| 10 | 7 | set -g prefix2 C-s | |
| 11 | 8 | set -g prefix C-Space | |
| 12 | − | ||
| 13 | − | # numbering | |
| 14 | − | set -g base-index 1 | |
| 15 | − | setw -g pane-base-index 1 | |
| 16 | − | set -g renumber-windows on | |
| 17 | − | ||
| 18 | − | # reload quickly | |
| 19 | 9 | bind r source-file ~/.config/tmux/tmux.conf | |
| 20 | 10 | ||
| 21 | − | ##### transparency & styles ##### | |
| 22 | − | # let the terminal compositor handle the background (keeps transparency) | |
| 23 | − | set -g window-style 'bg=default' | |
| 24 | − | set -g window-active-style 'bg=default' | |
| 25 | − | set -g status-style 'bg=default' | |
| 26 | − | ||
| 27 | − | # default-terminal: use a screen-compatible value to avoid missing terminfo, | |
| 28 | − | # but tell tmux to pass 24-bit color capability for common terminal names | |
| 29 | − | set -g default-terminal "screen-256color" | |
| 30 | − | set -ga terminal-overrides ",screen-256color:Tc,foot:Tc,xterm-256color:Tc,alacritty:Tc" | |
| 31 | − | ||
| 32 | − | ##### vi mode / copy ##### | |
| 33 | − | set-window-option -g mode-keys vi | |
| 34 | − | bind -T copy-mode-vi v send-keys -X begin-selection | |
| 35 | − | bind -T copy-mode-vi y send-keys -X copy-pipe-and-cancel 'wl-copy' | |
| 36 | − | ||
| 37 | 11 | ##### keys ##### | |
| 38 | 12 | bind h select-pane -L | |
| 39 | 13 | bind j select-pane -D | |
| @@ -47,9 +21,53 @@ bind -r C-j resize-pane -D 5 | |||
| 47 | 21 | bind -r C-k resize-pane -U 5 | |
| 48 | 22 | bind -r C-l resize-pane -R 5 | |
| 49 | 23 | ||
| 50 | − | ##### plugins (temporarily disable if debugging) ##### | |
| 51 | − | set -g @plugin 'tmux-plugins/tpm' | |
| 52 | − | # Tokyo Night can override bg — comment out while debugging | |
| 53 | − | set -g @plugin 'fabioluciano/tmux-tokyo-night' | |
| 54 | − | run '~/.config/tmux/plugins/tpm/tpm' | |
| 24 | + | # -------- General -------- | |
| 25 | + | set -g default-terminal "tmux-256color" | |
| 26 | + | set -ga terminal-overrides ",*:RGB" | |
| 27 | + | ||
| 28 | + | set -g mouse on | |
| 29 | + | set -g base-index 1 | |
| 30 | + | setw -g pane-base-index 1 | |
| 31 | + | set -g renumber-windows on | |
| 32 | + | set -sg escape-time 0 | |
| 33 | + | set -g history-limit 50000 | |
| 34 | + | setw -g mode-keys vi | |
| 35 | + | set -g focus-events on | |
| 36 | + | ||
| 37 | + | # -------- Transparency Everywhere -------- | |
| 38 | + | set -g window-style 'bg=default' | |
| 39 | + | set -g window-active-style 'bg=default' | |
| 40 | + | set -g pane-border-style 'bg=default,fg=#7a7977' | |
| 41 | + | set -g pane-active-border-style 'bg=default,fg=#e4e1db' | |
| 42 | + | ||
| 43 | + | # -------- Status Bar (Transparent + Minimal) -------- | |
| 44 | + | set -g status-position bottom | |
| 45 | + | set -g status-style 'bg=default,fg=#c8c5c1' | |
| 46 | + | ||
| 47 | + | set -g status-left-length 40 | |
| 48 | + | set -g status-right-length 40 | |
| 49 | + | ||
| 50 | + | # Left section with icons (FA) | |
| 51 | + | set -g status-left '#[fg=#c8c5c1] #S │ ' | |
| 52 | + | ||
| 53 | + | # No right side (clean) | |
| 54 | + | set -g status-right '' | |
| 55 | + | ||
| 56 | + | # Window list clean & icon-styled | |
| 57 | + | setw -g window-status-format '#[fg=#a9a7a2] #I:#W ' | |
| 58 | + | setw -g window-status-current-format '#[fg=#e4e1db,bold] #I:#W ' | |
| 59 | + | ||
| 60 | + | setw -g window-status-separator '' | |
| 61 | + | ||
| 62 | + | # Message popup | |
| 63 | + | set -g message-style 'bg=default,fg=#d0ccc7,bold' | |
| 64 | + | set -g message-command-style 'bg=default,fg=#d0ccc7' | |
| 65 | + | ||
| 66 | + | # -------- Extra Clean Tweaks -------- | |
| 67 | + | setw -g monitor-activity off | |
| 68 | + | set -g visual-activity off | |
| 69 | + | setw -g clock-mode-colour '#5fff5f' | |
| 55 | 70 | ||
| 71 | + | # -------- Optional: TPM -------- | |
| 72 | + | # set -g @plugin 'tmux-plugins/tpm' | |
| 73 | + | # run '~/.tmux/plugins/tpm/tpm' | |