-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtmux.conf
37 lines (35 loc) · 4.47 KB
/
tmux.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#-------[ Status Bar and colors ]----------------------------------------# {
set -g status-bg black
set -g status-fg blue
set -g status-fg yellow
set -g status-left "#[fg=colour250,bold,bg=colour235][#S]#[default]"
setw -g clock-mode-colour green
setw -g clock-mode-style 24
setw -g window-status-current-format '#[fg=black,bg=colour167]❰#[bold,fg=black, bg=colour109] #I #W '
setw -g window-status-separator ""
setw -g window-status-format "#[fg=colour243,bg=colour237,bold]❰#[fg=colour250,bg=colour240] #I #W "
set -g status-right-length 50
#show cpu
set -g status-right "#[fg=black,bg=colour72,bold]❰#[fg=black,bg=colour109,bold]"
set -ga status-right " U:#(uptime|sed 's/.*:.//'|sed 's/,//g') "
#show ram
set -ga status-right "#[fg=black,bg=colour72,bold]❰#[fg=black,bg=colour109,bold]"
set -ga status-right " M:#(free|awk 'NR==2{printf \"%.2f\", 100*$3/$2}')% "
set -ga status-right "#[fg=black,bg=colour72,bold]❰#[fg=black,bg=colour109,bold] %Y-%m-%d %H:%M#[default]"
set -g status-interval 5
setw -g window-status-activity-bg colour23
setw -g window-status-activity-fg colour239
set -g visual-activity on
setw -g monitor-activity on
#-------[ General ]----------------------------------------#
set -g default-terminal "screen-256color" #Terminal setting
set -g display-time 3000 #Time(ms) to show the message bar
set -g escape-time 200
#rename not allow
set-window-option -g automatic-rename off #disable window title auto-rename
#mouse setup
#set-window-option -g mode-mouse on
set -g mode-keys vi
set-option -g buffer-limit 16 #Number of copy buffers.
set-option -g allow-rename off
set -g history-limit 65535 #History