Enables displaying system information in Tmux status-right and status-left.
Installation with Tmux Plugin Manager (recommended)
Add plugin to the list of TPM plugins in .tmux.conf:
set -g @plugin 'cctags/tmux-system-info'
Hit prefix + I to fetch the plugin and source it.
If format strings are added to status-right, they should now be visible.
TODO
- python3
- psutil
Add any of the supported format strings (see below) to the existing status-right tmux option.
Example:
# in .tmux.conf
set -g status-right '#{system_info} | %a %h-%d %H:%M '
This is done by introducing 8 new format strings that can be added to
status-right option:
#{system_info}- will display system info
This code is originally based on the tmux-cpu project.