Skip to content

Instantly share code, notes, and snippets.

@azcoigreach
Created January 4, 2019 06:08
Show Gist options
  • Save azcoigreach/d09ee27d6b0fcee170dbceb599307578 to your computer and use it in GitHub Desktop.
Save azcoigreach/d09ee27d6b0fcee170dbceb599307578 to your computer and use it in GitHub Desktop.
holocron tmux conf
# Install tmux plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sidebar'
set -g @plugin 'tmux-plugins/tmux-net-speed'
set -g @plugin 'tmux-plugins/tmux-online-status'
set -g @plugin 'tmux-plugins/tmux-cpu'
set -g @plugin 'tmux-plugins/tmux-prefix-highlight'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @plugin 'tmux-plugins/tmux-continuum'
# Other examples:
# set -g @plugin 'github_username/plugin_name'
# set -g @plugin '[email protected]/user/plugin'
# set -g @plugin '[email protected]/user/plugin'
# Continuum settings
set -g @continuum-restore 'on'
# tmux-online-status
# set -g status-right "Online: #{online_status} | %a %h-%d %H:%M "
# set -g @online_icon "ok"
# set -g @offline_icon "offline!"
# tmux-net-speed settings
set -g @net_speed_interfaces "wlan0"
# set -g @download_speed_format "%10s"
# set -g @upload_speed_format "%10s"
# set -g @net_speed_format "D:%10s U:%10s"
# status-right
set -g status-right 'C= #{cpu_percentage} | N= #{online_status} | D=#{download_speed} | U=#{upload_speed}'
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run -b '~/.tmux/plugins/tpm/tpm'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment