Skip to content

Instantly share code, notes, and snippets.

@joelremix
Created December 5, 2021 04:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joelremix/d7a902b89a6c58d03f4acba0a7168623 to your computer and use it in GitHub Desktop.
Save joelremix/d7a902b89a6c58d03f4acba0a7168623 to your computer and use it in GitHub Desktop.
# set-option -g default-terminal "tmux-256color"
# set-option -g status-justify centre
set-option -g status-justify absolute-centre
set-option -g status-position top
set-option -g status-style bg=default
set-option -g status-left-length 60
# Show/Hide Status Bar with hotkey
bind s set-option -g status
bind C-s set-option -g status
bind r source-file ~/.tmux.conf
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
# Other examples:
# set -g @plugin 'github_username/plugin_name'
# set -g @plugin 'github_username/plugin_name#branch'
# set -g @plugin 'git@github.com:user/plugin'
# set -g @plugin 'git@bitbucket.com:user/plugin'
set -g @plugin 'tmux-plugins/tmux-cpu'
set -g status-left "  #H $#S "
# Plugin CPU
# set -g status-right '#{cpu_bg_color} CPU: #{cpu_icon} #{cpu_percentage} | %a %h-%d %H:%M '
set -g status-right ' #{cpu_percentage} | #{ram_icon} #{ram_percentage} | %a %h-%d %H:%M '
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.tmux/plugins/tpm/tpm'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment