minimal tmux config
This commit is contained in:
parent
334eaefdeb
commit
2f3c1976c3
|
|
@ -1,39 +1,13 @@
|
||||||
|
# ================================
|
||||||
|
# TMUX • Transparent Minimal Rice
|
||||||
|
# ================================
|
||||||
|
|
||||||
##### tmux.conf - tuned for Foot (Wayland) + preserve transparency + truecolor #####
|
# -------- Keybinds ---------
|
||||||
|
|
||||||
# responsiveness
|
|
||||||
set -s escape-time 0
|
|
||||||
set-option -g history-limit 5000
|
|
||||||
|
|
||||||
# prefix
|
|
||||||
unbind C-b
|
unbind C-b
|
||||||
set -g prefix2 C-s
|
set -g prefix2 C-s
|
||||||
set -g prefix C-Space
|
set -g prefix C-Space
|
||||||
|
|
||||||
# numbering
|
|
||||||
set -g base-index 1
|
|
||||||
setw -g pane-base-index 1
|
|
||||||
set -g renumber-windows on
|
|
||||||
|
|
||||||
# reload quickly
|
|
||||||
bind r source-file ~/.config/tmux/tmux.conf
|
bind r source-file ~/.config/tmux/tmux.conf
|
||||||
|
|
||||||
##### transparency & styles #####
|
|
||||||
# let the terminal compositor handle the background (keeps transparency)
|
|
||||||
set -g window-style 'bg=default'
|
|
||||||
set -g window-active-style 'bg=default'
|
|
||||||
set -g status-style 'bg=default'
|
|
||||||
|
|
||||||
# default-terminal: use a screen-compatible value to avoid missing terminfo,
|
|
||||||
# but tell tmux to pass 24-bit color capability for common terminal names
|
|
||||||
set -g default-terminal "screen-256color"
|
|
||||||
set -ga terminal-overrides ",screen-256color:Tc,foot:Tc,xterm-256color:Tc,alacritty:Tc"
|
|
||||||
|
|
||||||
##### vi mode / copy #####
|
|
||||||
set-window-option -g mode-keys vi
|
|
||||||
bind -T copy-mode-vi v send-keys -X begin-selection
|
|
||||||
bind -T copy-mode-vi y send-keys -X copy-pipe-and-cancel 'wl-copy'
|
|
||||||
|
|
||||||
##### keys #####
|
##### keys #####
|
||||||
bind h select-pane -L
|
bind h select-pane -L
|
||||||
bind j select-pane -D
|
bind j select-pane -D
|
||||||
|
|
@ -47,9 +21,53 @@ bind -r C-j resize-pane -D 5
|
||||||
bind -r C-k resize-pane -U 5
|
bind -r C-k resize-pane -U 5
|
||||||
bind -r C-l resize-pane -R 5
|
bind -r C-l resize-pane -R 5
|
||||||
|
|
||||||
##### plugins (temporarily disable if debugging) #####
|
# -------- General --------
|
||||||
set -g @plugin 'tmux-plugins/tpm'
|
set -g default-terminal "tmux-256color"
|
||||||
# Tokyo Night can override bg — comment out while debugging
|
set -ga terminal-overrides ",*:RGB"
|
||||||
set -g @plugin 'fabioluciano/tmux-tokyo-night'
|
|
||||||
run '~/.config/tmux/plugins/tpm/tpm'
|
|
||||||
|
|
||||||
|
set -g mouse on
|
||||||
|
set -g base-index 1
|
||||||
|
setw -g pane-base-index 1
|
||||||
|
set -g renumber-windows on
|
||||||
|
set -sg escape-time 0
|
||||||
|
set -g history-limit 50000
|
||||||
|
setw -g mode-keys vi
|
||||||
|
set -g focus-events on
|
||||||
|
|
||||||
|
# -------- Transparency Everywhere --------
|
||||||
|
set -g window-style 'bg=default'
|
||||||
|
set -g window-active-style 'bg=default'
|
||||||
|
set -g pane-border-style 'bg=default,fg=#7a7977'
|
||||||
|
set -g pane-active-border-style 'bg=default,fg=#e4e1db'
|
||||||
|
|
||||||
|
# -------- Status Bar (Transparent + Minimal) --------
|
||||||
|
set -g status-position bottom
|
||||||
|
set -g status-style 'bg=default,fg=#c8c5c1'
|
||||||
|
|
||||||
|
set -g status-left-length 40
|
||||||
|
set -g status-right-length 40
|
||||||
|
|
||||||
|
# Left section with icons (FA)
|
||||||
|
set -g status-left '#[fg=#c8c5c1] #S │ '
|
||||||
|
|
||||||
|
# No right side (clean)
|
||||||
|
set -g status-right ''
|
||||||
|
|
||||||
|
# Window list clean & icon-styled
|
||||||
|
setw -g window-status-format '#[fg=#a9a7a2] #I:#W '
|
||||||
|
setw -g window-status-current-format '#[fg=#e4e1db,bold] #I:#W '
|
||||||
|
|
||||||
|
setw -g window-status-separator ''
|
||||||
|
|
||||||
|
# Message popup
|
||||||
|
set -g message-style 'bg=default,fg=#d0ccc7,bold'
|
||||||
|
set -g message-command-style 'bg=default,fg=#d0ccc7'
|
||||||
|
|
||||||
|
# -------- Extra Clean Tweaks --------
|
||||||
|
setw -g monitor-activity off
|
||||||
|
set -g visual-activity off
|
||||||
|
setw -g clock-mode-colour '#5fff5f'
|
||||||
|
|
||||||
|
# -------- Optional: TPM --------
|
||||||
|
# set -g @plugin 'tmux-plugins/tpm'
|
||||||
|
# run '~/.tmux/plugins/tpm/tpm'
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue