Configs

From 6bit.ch wiki
Revision as of 18:18, 9 March 2026 by Xbl (talk | contribs) (Created page with "= PS1 = = tmux.conf = <nowiki> # Extend history limit set -g history-limit 42069 # Don't rename windows automatically set -g allow-rename off # reload config file bind r source-file ~/.tmux.conf # Enable 256 color support set -g default-terminal "tmux-256color" set -ga terminal-overrides ",*:RGB" # Enable clipboard set -g set-clipboard on # Change keyboard index set -g base-index 1 set -g pane-base-index 1 set-window-option -g pane-base-index 1 set-option -g ren...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

PS1

tmux.conf

 
# Extend history limit
set -g history-limit 42069

# Don't rename windows automatically
set -g allow-rename off

# reload config file
bind r source-file ~/.tmux.conf

# Enable 256 color support
set -g default-terminal "tmux-256color"
set -ga terminal-overrides ",*:RGB"

# Enable clipboard
set -g set-clipboard on

# Change keyboard index
set -g base-index 1
set -g pane-base-index 1
set-window-option -g pane-base-index 1
set-option -g renumber-windows on

# Theme colors
thm_bg="#222436"
thm_fg="#c8d3f5"
thm_black="#1b1d2b"
thm_black4="#444a73"
thm_blue="#82aaff"
thm_cyan="#86e1fc"
thm_gray="#3a3f5a"
thm_green="#00ff69"
#thm_green="#c3e88d"
thm_magenta="#c099ff"
thm_orange="#ff9e64"
thm_pink="#ff757f"
thm_red="#ff757f"
thm_yellow="#ffc777"

# Status bar settings
set -g status "on"
set -g status-bg "${thm_bg}"
set -g status-justify "left"
set -g status-left-length "100"
set -g status-right-length "100"
# Messages
set -g message-style "fg=${thm_cyan},bg=${thm_gray},align=centre"
set -g message-command-style "fg=${thm_cyan},bg=${thm_gray},align=centre"

# Panes
set -g pane-border-style "fg=${thm_gray}"
set -g pane-active-border-style "fg=${thm_blue}"

# Windows
set -g window-status-activity-style "fg=${thm_fg},bg=${thm_bg},none"
set -g window-status-separator " |"
set -g window-status-style "fg=${thm_fg},bg=${thm_bg},none"

# Statusline - current window
set -g window-status-current-format "#[fg=${thm_blue},bg=${thm_bg}, bold] #[fg=${thm_green},bg=${thm_bg}]#I:#[fg=${thm_cyan},bg=${thm_bg}]#W"
#set -g window-status-current-format "#[fg=${thm_blue},bg=${thm_bg}, bold] #[fg=${thm_green},bg=${thm_bg}]#I:#[fg=${thm_cyan},bg=${thm_bg}]#(echo '#{pane_current_path}' | rev | cut -d'/' -f-2 | rev)#[fg=${thm_magenta},bg=${thm_bg}]"

# Statusline - other windows
set -g window-status-format "#[fg=${thm_blue},bg=${thm_bg}] #I:#[fg=${thm_fg},bg=${thm_bg}]#W"

# Statusline - right side
set -g status-right "#[fg=${thm_blue},bg=${thm_bg},nobold,nounderscore,noitalics]#[fg=${thm_bg},bg=${thm_blue},nobold,nounderscore,noitalics] #[fg=${thm_fg},bg=${thm_gray}] #W #{?client_prefix,#[fg=${thm_magenta}],#[fg=${thm_cyan}]}#[bg=${thm_gray}]#{?client_prefix,#[bg=${thm_magenta}],#[bg=${thm_cyan}]}#[fg=${thm_bg}] #[fg=${thm_fg},bg=${thm_gray}]"

# Statusline - left side (empty)
set -g status-left ""

# Modes
set -g clock-mode-colour "${thm_blue}"
set -g mode-style "fg=${thm_blue} bg=${thm_black4} bold"