Compare commits
2 Commits
d54263d231
...
0f9cdb4d0a
| Author | SHA1 | Date | |
|---|---|---|---|
| 0f9cdb4d0a | |||
| 339e1a1e1a |
@ -29,19 +29,21 @@ set -g @plugin 'tmux-plugins/tpm'
|
|||||||
set -g @plugin 'tmux-plugins/tmux-sensible'
|
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-yank' # Copy to the system clipboard in tmux
|
||||||
# set -g @plugin 'tmux-plugins/tmux-net-speed'
|
# 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
|
set -g @plugin 'tmux-plugins/tmux-prefix-highlight' # Highlights when you press tmux prefix key
|
||||||
|
|
||||||
# theme (choose one: 256, dark, light, base16)
|
# theme (choose one: 256, dark, light, base16)
|
||||||
set -g @plugin 'seebi/tmux-colors-solarized'
|
set -g @plugin 'seebi/tmux-colors-solarized'
|
||||||
set -g @colors-solarized 'dark'
|
set -g @colors-solarized 'dark'
|
||||||
|
|
||||||
set -g status-interval 1 # 状态栏刷新时间
|
set -g status-interval 1
|
||||||
set -g status-right-length 120 # 状态栏右侧长度
|
set -g status-right-length 120
|
||||||
# set -g @net_speed_format 'D:%9s U:%9s'
|
# 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 '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
|
# prefix highlight
|
||||||
set -g @prefix_highlight_fg 'white'
|
set -g @prefix_highlight_fg 'white'
|
||||||
|
|||||||
@ -23,6 +23,9 @@ if command_exists iptables; then
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# To make more practice of vim
|
||||||
|
alias nano='vim' && alias dontwanttousevim='/usr/bin/nano'
|
||||||
|
|
||||||
command_exists trash-put && alias rm='trash-put' && alias rmrm='/usr/bin/rm'
|
command_exists trash-put && alias rm='trash-put' && alias rmrm='/usr/bin/rm'
|
||||||
command_exists batcat && alias cat='batcat'
|
command_exists batcat && alias cat='batcat'
|
||||||
command_exists fdfind && alias fd='fdfind'
|
command_exists fdfind && alias fd='fdfind'
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user