fix catpuccin theme in tmux

This commit is contained in:
Antoine 2024-05-13 10:21:58 +02:00
parent 468c1a82aa
commit b2d6b6ce11

View file

@ -1,8 +1,8 @@
#set -g default-terminal "alacritty" #set -g default-terminal "alacritty"
set -g default-terminal "tmux-256color" set -g default-terminal "tmux-256color"
set-option -ga terminal-overrides ",xterm-256color:Tc" set -ga terminal-overrides ",$TERM:RGB"
set-option -g default-shell "/bin/bash" # set-option -g default-shell "/bin/bash"
set -g focus-events on set -g focus-events on
set -g mouse on set -g mouse on
@ -36,22 +36,40 @@ setw -g pane-base-index 1
# reload configuration # reload configuration
bind-key -r r source-file ~/.tmux.conf bind-key -r r source-file ~/.tmux.conf
run ~/.tmux/plugins/catppuccin/catppuccin.tmux
# Plugins # Plugins
# #
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}"
# List of plugins # List of plugins
set -g @plugins 'tmux-plugins/tpm' # tmux package manager # set -g @plugins 'tmux-plugins/tpm' # tmux package manager
set -g @plugins 'tmux-plugins/tmux-resurrect' # persist tmux environment across system restarts # set -g @plugins 'tmux-plugins/tmux-resurrect' # persist tmux environment across system restarts
set -g @plugins 'tmux-plugins/tmux-continuum' # continuous saving of tmux environment # set -g @plugins 'tmux-plugins/tmux-continuum' # continuous saving of tmux environment
set -g @plugins 'tmux-plugins/tmux-yank' # for copying to system clipboard # set -g @plugins 'tmux-plugins/tmux-yank' # for copying to system clipboard
set -g @plugins 'tmux-plugins/tmux-prefix-highlight' # highlights when you press tmux prefix key # set -g @plugins 'tmux-plugins/tmux-prefix-highlight' # highlights when you press tmux prefix key
set -g @plugins 'dracula/tmux' # set -g @plugins 'dracula/tmux'
#
#
# Dracula config # # Dracula config
set -g @dracula-border-contrast true # set -g @dracula-border-contrast true
set -g @dracula-show-fahrenheit false # set -g @dracula-show-fahrenheit false
set -g @dracula-show-weather false # set -g @dracula-show-weather false
set -g @dracula-ram-usage true # set -g @dracula-ram-usage true
set -g @dracula-cpu-usage true # set -g @dracula-cpu-usage true