add: v1, v2 tmux gruvbox themes

This commit is contained in:
none
2026-05-08 15:09:11 -07:00
parent 737cead7e9
commit 0cde5feedd
2 changed files with 160 additions and 0 deletions
@@ -0,0 +1,160 @@
# Color related for ghostty termianal
set -g default-terminal "xterm-ghostty"
# Color related for kitty terminal
# set -ga terminal-overrides ',xterm-kitty:RGB'
# set -g default-terminal "xterm-kitty"
# Other settings
set -g mouse on
# Reload Tmux config
unbind r
bind r source-file ~/.tmux.conf
# Unbind b for a
unbind-key C-b
set-option -g prefix C-a
set -g prefix C-a
# Window creation
# Creates a window vertically
bind-key | split-window -h -c "#{pane_current_path}"
# Creates a window horizontally
bind-key _ split-window -v -c "#{pane_current_path}"
# kill pane without asking me to kill it!
unbind-key x
bind-key x kill-pane
bind-key X kill-session
# Nvim like movement
bind-key -r h select-pane -L # go left
bind-key -r j select-pane -D # go down
bind-key -r l select-pane -R # go right
bind-key -r k select-pane -U # go up
# Vim Style resizing panes 2 rows at the time
bind-key -r H resize-pane -L 2
bind-key -r J resize-pane -D 2
bind-key -r K resize-pane -U 2
bind-key -r L resize-pane -R 2
# Popups binds
bind C-y display-popup \
-d "#{pane_current_path}" \
-w 80% \
-h 80% \
-E "lazygit"
bind C-r display-popup \
-d "#{pane_current_path}" \
-w 90% \
-h 90% \
-E "ranger"
bind C-t display-popup \
-d "#{pane_current_path}" \
-w 75% \
-h 75% \
-E "zsh"
# Window index will start with 1
set-option -g base-index 1
# Pane index will start with 1
set-window-option -g pane-base-index 1
set-option -g renumber-windows on
# ==============================================================================
# Tmux Configuration - Gruvbox Medium-Hard Theme (Transparent Background)
# ==============================================================================
# ------------------------------------------------------------------------------
# General Settings
# ------------------------------------------------------------------------------
# Enable true color support
set -g default-terminal "tmux-256color"
set -ga terminal-overrides ",*256col*:Tc"
# Set prefix to Ctrl-a (optional, common preference)
# unbind C-b
# set -g prefix C-a
# bind C-a send-prefix
# Start windows and panes at 1, not 0
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
# ------------------------------------------------------------------------------
# Gruvbox Medium-Hard Color Palette
# ------------------------------------------------------------------------------
# Backgrounds (Using transparent for main bg)
# dark0_hard: #1d2021 (Not used for main bg to keep it transparent)
# dark0: #282828
# dark1: #3c3836
# dark2: #504945
# dark3: #665c54
# dark4: #7c6f64
# Foregrounds
# light0_hard: #f9f5d7
# light0: #fbf1c7
# light1: #ebdbb2
# light2: #d5c4a1
# light3: #bdae93
# light4: #a89984
# Colors
# bright_red: #fb4934
# bright_green: #b8bb26
# bright_yellow: #fabd2f
# bright_blue: #83a598
# bright_purple: #d3869b
# bright_aqua: #8ec07c
# bright_orange: #fe8019
# ------------------------------------------------------------------------------
# Theme Configuration
# ------------------------------------------------------------------------------
# Transparent background for status bar
set -g status-style "bg=default,fg=#ebdbb2" # bg=default enables transparency, fg=light1
# Window status (default)
set -g window-status-style "bg=default,fg=#a89984" # fg=light4
set -g window-status-format " #I:#W "
# Window status (current)
set -g window-status-current-style "bg=#3c3836,fg=#fbf1c7,bold" # bg=dark1, fg=light0
set -g window-status-current-format " #I:#W "
# Pane borders
set -g pane-border-style "bg=default,fg=#504945" # fg=dark2
set -g pane-active-border-style "bg=default,fg=#fabd2f" # fg=bright_yellow
# Message line
set -g message-style "bg=#3c3836,fg=#fbf1c7" # bg=dark1, fg=light0
set -g message-command-style "bg=#3c3836,fg=#fbf1c7"
# Mode style (e.g., copy mode selection)
set -g mode-style "bg=#504945,fg=#fbf1c7" # bg=dark2, fg=light0
# Clock mode
set -g clock-mode-colour "#83a598" # bright_blue
# ------------------------------------------------------------------------------
# Status Bar Layout
# ------------------------------------------------------------------------------
set -g status-left-length 50
set -g status-right-length 100
# Left side of status bar
set -g status-left "#[bg=#a89984,fg=#1d2021,bold] #S #[bg=default,fg=#a89984] "
# Right side of status bar
set -g status-right "#[bg=default,fg=#a89984] %Y-%m-%d %H:%M #[bg=#a89984,fg=#1d2021,bold] #h "
# Status bar position
set -g status-position bottom