tmux: Changed loading of plugins
This commit is contained in:
parent
836e9ccd56
commit
1f6bf9e9c8
@ -29,7 +29,11 @@ bind -n M-Down select-pane -D
|
||||
set -g mouse on
|
||||
set -g default-terminal "tmux-256color"
|
||||
|
||||
run $XDG_CONFIG_HOME/tmux/plugins/tmux/catppuccin.tmux
|
||||
# Ensure and load TPM
|
||||
if "test ! -d $XDG_CONFIG_HOME/tmux/plugins/tpm" \
|
||||
"run 'git clone https://github.com/tmux-plugins/tpm $XDG_CONFIG_HOME/tmux/plugins/tpm && $XDG_CONFIG_HOME/tmux/plugins/tpm/bin/install_plugins'"
|
||||
|
||||
run $XDG_CONFIG_HOME/tmux/plugins/tpm/tpm
|
||||
|
||||
# Configure the catppuccin plugin
|
||||
set -g @catppuccin_flavor "macchiato"
|
||||
@ -47,12 +51,4 @@ set -g status-right "#{E:@catppuccin_status_application}"
|
||||
set -ag status-right "#{E:@catppuccin_status_session}"
|
||||
set -ag status-right "#{E:@catppuccin_status_uptime}"
|
||||
# set -agF status-right "#{E:@catppuccin_status_battery}"
|
||||
set -agF status-right "#{@catppuccin_status_host}"
|
||||
|
||||
|
||||
|
||||
# Ensure and load TPM
|
||||
if "test ! -d $XDG_CONFIG_HOME/tmux/plugins/tpm" \
|
||||
"run 'git clone https://github.com/tmux-plugins/tpm $XDG_CONFIG_HOME/tmux/plugins/tpm && $XDG_CONFIG_HOME/tmux/plugins/tpm/bin/install_plugins'"
|
||||
|
||||
run $XDG_CONFIG_HOME/tmux/plugins/tpm/tpm
|
||||
set -agF status-right "#{@catppuccin_status_host}"
|
Loading…
Reference in New Issue
Block a user