Skip to content

Commit

Permalink
tmux: fix breaking changes in catppuccin theme
Browse files Browse the repository at this point in the history
  • Loading branch information
samialdury committed Oct 8, 2024
1 parent 2ef0e9d commit f32efc6
Showing 1 changed file with 17 additions and 8 deletions.
25 changes: 17 additions & 8 deletions .config/tmux/tmux.conf
Original file line number Diff line number Diff line change
Expand Up @@ -9,23 +9,32 @@ bind r source-file ~/.config/tmux/tmux.conf \; display "Reloaded!"
set -g default-terminal "tmux-256color"
set -ag terminal-overrides ",xterm-256color:Tc"

# Cattpuccin theme
set -g @catppuccin_flavor "mocha"
set -g @catppuccin_window_status_style "basic"
set -g @catppuccin_status_left_separator ""
set -g @catppuccin_status_right_separator ""
# leave this unset to let applications set the window title
set -g @catppuccin_window_default_text " #W"
set -g @catppuccin_window_current_text " #W"

# tmux plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'tmux-plugins/tmux-copycat'
set -g @plugin 'tmux-plugins/tmux-yank'
set -g @plugin 'christoomey/vim-tmux-navigator'
set -g @plugin 'catppuccin/tmux'
set -g @plugin 'catppuccin/tmux#v1.0.1'

# Make the status line pretty and add some modules
set -g status-left ""
set -g status-right "#{E:@catppuccin_status_user}"
set -ag status-right "#{E:@catppuccin_status_application}"
set -ag status-right "#{E:@catppuccin_status_session}"

# Yank
set -g @yank_action 'copy-pipe' # or 'copy-pipe-and-cancel' for the default

# Cattpuccin theme
set -g @catppuccin_flavour 'mocha'
set -g @catppuccin_status_modules_right "session"
set -g @catppuccin_status_left_separator ""
set -g @catppuccin_status_right_separator ""

# Set prefix to Ctrl+Space
unbind C-b
set -g prefix C-Space
Expand Down Expand Up @@ -87,4 +96,4 @@ set -ga update-environment TERM
set -ga update-environment TERM_PROGRAM

# Run tmux plugin manager
run '~/.tmux/plugins/tpm/tpm'
run '~/.config/tmux/plugins/tpm/tpm'

0 comments on commit f32efc6

Please sign in to comment.