Fix Tmux theme

Loaded Catppuccin themes as git submodule.
This commit is contained in:
Fabio Scotto di Santolo
2024-08-11 09:52:12 +02:00
parent 5e533614c3
commit 08726961ab
3 changed files with 10 additions and 11 deletions

3
.gitmodules vendored
View File

@@ -16,3 +16,6 @@
[submodule "tmux/.tmux/plugins/tmux-power"]
path = tmux/.tmux/plugins/tmux-power
url = https://git::@github.com/wfxr/tmux-power
[submodule "tmux/.tmux/plugins/tmux"]
path = tmux/.tmux/plugins/tmux
url = https://github.com/catppuccin/tmux.git

View File

@@ -2,10 +2,14 @@
unbind C-b
set -g prefix C-x
bind C-x send-prefix
# Renumbered windows and panels
set -g renumber-window on
set -g base-index 1
setw -g pane-base-index 1
bind c new-window -c "#{pane_current_path}"
# Fix Tmux for colors
set-option -a terminal-features 'xterm-256color:RGB'
set -g allow-passthrough on
set -ga update-environment TERM
@@ -14,34 +18,26 @@ set -ga update-environment TERM_PROGRAM
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
#set -g @plugin 'erikw/tmux-powerline'
set -g @plugin 'tmux-plugins/tmux-open'
set -g @plugin 'wfxr/tmux-power'
set -g @plugin 'catppuccin/tmux'
set -g @catppuccin_flavour 'frappe'
set-option -g @plugin 'b0o/tmux-autoreload'
# Customizing Tmux Power theme
#set -g @tmux_power_theme '#99c1f1'
# Customizing Catppuccin theme
set -g @catppuccin_flavour 'frappe'
set -g @catppuccin_window_left_separator ""
set -g @catppuccin_window_right_separator " "
set -g @catppuccin_window_middle_separator " █"
set -g @catppuccin_window_number_position "right"
set -g @catppuccin_window_default_fill "number"
set -g @catppuccin_window_default_text "#W"
set -g @catppuccin_window_current_fill "number"
set -g @catppuccin_window_current_text "#W"
set -g @catppuccin_status_modules_right "directory user host session"
set -g @catppuccin_status_left_separator " "
set -g @catppuccin_status_right_separator ""
set -g @catppuccin_status_fill "icon"
set -g @catppuccin_status_connect_separator "no"
set -g @catppuccin_directory_text "#{pane_current_path}"
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)