Skip to content

Commit

Permalink
feat(core): change theme catppuccin to 2.1.0 (#66)
Browse files Browse the repository at this point in the history
  • Loading branch information
luismayta committed Nov 11, 2024
1 parent 8a5e4b5 commit 0f72dde
Showing 1 changed file with 26 additions and 51 deletions.
77 changes: 26 additions & 51 deletions conf/.tmux.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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'
Expand Down

0 comments on commit 0f72dde

Please sign in to comment.