This commit is contained in:
Konano 2024-11-08 13:47:11 +08:00
parent 339e1a1e1a
commit 0f9cdb4d0a

View File

@ -29,19 +29,21 @@ set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'tmux-plugins/tmux-yank' # Copy to the system clipboard in tmux
# set -g @plugin 'tmux-plugins/tmux-net-speed'
# set -g @plugin 'tmux-plugins/tmux-cpu'
# set -g @plugin 'thewtex/tmux-mem-cpu-load'
set -g @plugin 'tmux-plugins/tmux-cpu'
set -g @plugin 'tmux-plugins/tmux-prefix-highlight' # Highlights when you press tmux prefix key
# theme (choose one: 256, dark, light, base16)
set -g @plugin 'seebi/tmux-colors-solarized'
set -g @colors-solarized 'dark'
set -g status-interval 1 # 状态栏刷新时间
set -g status-right-length 120 # 状态栏右侧长度
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 @cpu_percentage_format '%5.1f%%'
set -g status-right 'CPU: #{cpu_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 '#{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'
# prefix highlight
set -g @prefix_highlight_fg 'white'