tmux theme rework

This commit is contained in:
Henrik Bakken
2025-04-22 21:48:29 +02:00
parent 581fe0e7a7
commit a919b7b12e
+25 -41
View File
@@ -19,13 +19,33 @@ set -as terminal-features ",gnome*:RGB"
set -g base-index 1
setw -g pane-base-index 1
# colors
fg_active_pane="default"
fg_inactive_pane="color242"
fg_active_window="color0"
bg_active_window="color252"
bg_highlight="red"
# pane title
setw -g pane-border-status top
setw -g pane-border-format ' #{=/-20/…:pane_title} [#{=/-20/…:pane_current_command}] #(pgrep -P "#{pane_pid}" | tr "\n" " ")#{pane_current_path} #{?alternate_on,<Alt Mode> ,}'
set -g pane-border-style "fg=color242"
set -g pane-active-border-style "fg=color252"
set -g @minimal-tmux-fg "color0"
set -g @minimal-tmux-bg "color252"
set -g pane-border-style "fg=${fg_inactive_pane}"
set -g pane-active-border-style "fg=${fg_active_pane}"
# status line
default_color="#[bg=default,fg=default,bold]"
indicator=" η "
window_status_format=' #I:#W '
expanded_icon='󰊓 '
# Setting the options in tmux
set -g status-position "bottom"
set -g status-style bg=default,fg=default
set -g status-justify "left"
set -g status-left "${default_color}#{?client_prefix,,${indicator}}#[bg=${bg_highlight},fg=${fg_active_window},bold]#{?client_prefix,${indicator},}${default_color}"
set -g status-right "#S"
set -g window-status-format " ${window_status_format}#{?window_zoomed_flag,󰊓 ,}"
set -g window-status-current-format "#[fg=${bg_active_window}]#[bg=${bg_active_window},fg=${fg_active_window}]${window_status_format}#{?window_zoomed_flag,${expanded_icon},}#[fg=${bg_active_window},bg=default]"
# Automatically set window title
@@ -148,7 +168,7 @@ set -g @plugin 'tmux-plugins/tmux-yank'
######################
### PANE CONTROL ###
######################
set -g @plugin 'mrjones2014/smart-splits.nvim'
# Optional configurations with their default values if omitted:
@@ -167,42 +187,6 @@ set -g @smart-splits_resize_right_key 'C-l' # --"--
set -g @smart-splits_resize_step_size '3' # change the step-size for resizing.
######################
### THEME ###
######################
set -g @plugin 'niksingh710/minimal-tmux-status'
set -g @minimal-tmux-justify "centre"
set -g @minimal-tmux-indicator-str " tmux "
set -g @minimal-tmux-indicator true
set -g @minimal-tmux-status "bottom"
# Enables or disables the left and right status bar
set -g @minimal-tmux-right true
set -g @minimal-tmux-left true
# expanded icon (fullscreen icon)
set -g @minimal-tmux-expanded-icon "󰊓 "
# on all tabs (default is false)
# false will make it visible for the current tab only
set -g @minimal-tmux-show-expanded-icons-for-all-tabs true
# To add or remove extra text in status bar
set -g @minimal-tmux-status-right-extra ""
set -g @minimal-tmux-status-left-extra ""
# To make the selection box rounded () or edged <>
# Default is nothing, when set to true default is edged
set -g @minimal-tmux-use-arrow true
set -g @minimal-tmux-right-arrow ""
set -g @minimal-tmux-left-arrow ""
# If getting strings cut in left status or right
# Here 20 is the length of the characters in the string
set -g status-right-length 20
set -g status-left-length 20
######################
### KEEP AT BOTTOM ###
######################