56 lines
1.4 KiB
Bash
56 lines
1.4 KiB
Bash
#check if tpm for tmux is installed, if not it will install it for you
|
|
run-shell -b '
|
|
if [[ -e "$HOME/.tmux/plugins/tpm/tpm" ]]; then
|
|
echo "you have tpm installed"
|
|
else
|
|
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
|
|
fi
|
|
'
|
|
|
|
set-option -sa terminal-overrides ",xterm*:Tc"
|
|
set -g mouse on
|
|
|
|
set -g default-terminal "tmux-256color"
|
|
|
|
unbind C-b
|
|
set -g prefix C-Space
|
|
bind C-Space send-prefix
|
|
|
|
bind -n M-H previous-window
|
|
bind -n M-L next-window
|
|
bind r source-file ~/.config/tmux/tmux.conf
|
|
|
|
set -g base-index 1
|
|
set -g pane-base-index 1
|
|
|
|
set-window-option -g pane-base-index 1
|
|
set-option -g renumber-windows on
|
|
|
|
set-option -g status-position top
|
|
|
|
set -g @catppuccin_flavor 'frappe'
|
|
set -g @catppuccin_window_status_style "rounded"
|
|
|
|
set -g @plugin "tmux-plugins/tpm"
|
|
set -g @plugin "tmux-plugins/tmux-sensible"
|
|
set -g @plugin "christoomey/vim-tmux-navigator"
|
|
set -g @plugin 'catppuccin/tmux#v1.0.3'
|
|
|
|
#set -g @catppuccin_status_session_fg_color "#{@thm_flamingo}"
|
|
|
|
#run '~/.config/tmux/plugins/catppuccin/tmux/catppuccin.tmux'
|
|
|
|
set -g @catppuccin_session_color "#{@thm_teal}"
|
|
set -g @catppuccin_application_color "#{@thm_lavender}"
|
|
|
|
# Make the status line more pleasant.
|
|
set -g status-right-length 100
|
|
set -g status-left-length 100
|
|
set -g status-left ""
|
|
set -g status-right "#{E:@catppuccin_status_session}"
|
|
set -ag status-right "#{E:@catppuccin_status_application}"
|
|
#set -ag status-right "#{E:@catppuccin_status_uptime}"
|
|
|
|
|
|
run "~/.tmux/plugins/tpm/tpm"
|