From 0f72dde63235513bd5ef42954e045c2bea09baf9 Mon Sep 17 00:00:00 2001 From: Luis Mayta Date: Sun, 10 Nov 2024 22:29:33 -0300 Subject: [PATCH] feat(core): change theme catppuccin to 2.1.0 (#66) --- conf/.tmux.conf | 77 +++++++++++++++++-------------------------------- 1 file changed, 26 insertions(+), 51 deletions(-) diff --git a/conf/.tmux.conf b/conf/.tmux.conf index 3a32b84..fb6c83d 100644 --- a/conf/.tmux.conf +++ b/conf/.tmux.conf @@ -130,6 +130,11 @@ bind-key -T copy-mode-vi C-v send-keys -X rectangle-toggle bind-key -T copy-mode-vi y send-keys -X copy-selection-and-cancel # }}} +if -b '"$(uname)" = Darwin' 'source-file $HOME/.tmux_osx.conf' + +if -b '"$(uname)" = Linux' 'source-file $HOME/.tmux_linux.conf' + + # Theme {{{ # Status bar config @@ -163,63 +168,33 @@ set -g @open-s 'https://www.google.com/search?q=' set -g @fzf-url-bind 'u' # }}} -# tmux-jump {{{ -set -g @jump-key 'g' -# }}} - -# dracula/tmux {{{ - -# set -g @dracula-show-powerline true -# set -g @dracula-show-flags true -# set -g @dracula-military-time true -# set -g @dracula-refresh-rate 30 -# set -g @dracula-show-timezone true -# set -g @dracula-show-left-icon window -# set -g @dracula-cpu-usage true - -# }}} - # catppuccin/tmux {{{ -set -g @catppuccin_flavour 'mocha' # or frappe, macchiato, mocha - -set -g @catppuccin_window_left_separator "█" -set -g @catppuccin_window_right_separator "█ " -set -g @catppuccin_window_number_position "right" -set -g @catppuccin_window_middle_separator " █" - -set -g @catppuccin_window_default_fill "number" - -set -g @catppuccin_window_current_fill "number" -set -g @catppuccin_window_current_text "#{pane_current_path}" +set -g @catppuccin_flavor 'mocha' # latte, frappe, macchiato or mocha +set -g @catppuccin_window_status_style "rounded" -set -g @catppuccin_status_modules_right "application session date_time" -set -g @catppuccin_status_left_separator "" -set -g @catppuccin_status_right_separator " " -set -g @catppuccin_status_right_separator_inverse "yes" -set -g @catppuccin_status_fill "all" -set -g @catppuccin_status_connect_separator "no" +set -g status-right-length 100 +set -g status-left-length 100 +set -g status-left "" +set -g status-right "#{E:@catppuccin_status_application}" +set -agF status-right "#{E:@catppuccin_status_cpu}" +set -ag status-right "#{E:@catppuccin_status_session}" +set -ag status-right "#{E:@catppuccin_status_uptime}" +set -agF status-right "#{E:@catppuccin_status_battery}" # }}} -if -b '"$(uname)" = Darwin' 'source-file $HOME/.tmux_osx.conf' - -if -b '"$(uname)" = Linux' 'source-file $HOME/.tmux_linux.conf' - # Plugins {{{ -# # List of plugins -set -g @tpm_plugins ' \ - tmux-plugins/tpm \ - catppuccin/tmux \ - wfxr/tmux-fzf-url \ - tmux-plugins/tmux-battery \ - tmux-plugins/tmux-copycat \ - tmux-plugins/tmux-yank \ - tmux-plugins/tmux-sensible \ - tmux-plugins/tmux-open \ - tmux-plugins/tmux-resurrect \ - schasse/tmux-jump \ - sainnhe/tmux-fzf \ -' +set -g @plugin 'tmux-plugins/tpm' +set -g @plugin 'catppuccin/tmux#v2.1.0' +set -g @plugin 'wfxr/tmux-fzf-url' +set -g @plugin 'tmux-plugins/tmux-battery' +set -g @plugin 'tmux-plugins/tmux-cpu' +set -g @plugin 'tmux-plugins/tmux-copycat' +set -g @plugin 'tmux-plugins/tmux-yank' +set -g @plugin 'tmux-plugins/tmux-sensible' +set -g @plugin 'tmux-plugins/tmux-open' +set -g @plugin 'tmux-plugins/tmux-resurrect' +set -g @plugin 'sainnhe/tmux-fzf' # Initialize TPM run '~/.tmux/plugins/tpm/tpm'