feat(.tmux.conf): 添加内存使用百分比显示到状态栏
This commit is contained in:
parent
0f9cdb4d0a
commit
f6037156b9
@ -41,7 +41,8 @@ set -g status-interval 1
|
||||
set -g status-right-length 120
|
||||
# set -g @net_speed_format 'D:%9s U:%9s'
|
||||
set -g @cpu_percentage_format '%5.1f%%'
|
||||
set -g status-right 'CPU: #{cpu_percentage} #{prefix_highlight} %a %m/%d %H:%M'
|
||||
set -g @ram_percentage_format '%5.1f%%'
|
||||
set -g status-right 'CPU: #{cpu_percentage} MEM: #{ram_percentage} #{prefix_highlight} %a %m/%d %H:%M'
|
||||
# set -g status-right 'CPU: #{cpu_percentage} MEM: #(/usr/local/bin/tmux-mem --format " :percent") #{net_speed} #{prefix_highlight} %a %m/%d %H:%M'
|
||||
# set -g status-right '#(~/.tmux/plugins/tmux-mem-cpu-load/tmux-mem-cpu-load --powerline-right --interval 2) #{prefix_highlight} %a %m/%d %H:%M'
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user