tmux: add cpu usage to status bar

This commit is contained in:
nicolas 2023-10-09 23:28:46 +02:00
parent 070e674d06
commit 489437522d
1 changed files with 6 additions and 0 deletions

View File

@ -7,9 +7,15 @@ bind-key space copy-mode
set -g base-index 1
setw -g mode-keys vi
set-option -sg escape-time 10
set -g status-right '#{cpu_bg_color} CPU: #{cpu_icon} #{cpu_percentage} | %a %h-%d %H:%M '
set -g @cpu_low_icon "󰢼"
set -g @cpu_medium_icon "󰢽"
set -g @cpu_high_icon "󰢾"
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'tmux-plugins/tmux-cpu'
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)