-
Notifications
You must be signed in to change notification settings - Fork 0
/
tmux.conf
92 lines (75 loc) · 3.2 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
# List of plugins
set -g @tpm_plugins ' \
tmux-plugins/tpm \
tmux-plugins/tmux-sensible \
tmux-plugins/tmux-pain-control \
tmux-plugins/tmux-resurrect \
tmux-plugins/tmux-battery \
tmux-plugins/tmux-cpu \
tmux-plugins/tmux-prefix-highlight \
'
# # colors
DARK=#1a1b26
PRIMARY=#4649FF
GREY=#24283b
LIGHT=#888da4
set -g pane-border-style fg=magenta
set -g pane-active-border-style "bg=default fg=#a18daf"
set-option -sg escape-time 10
set-option -g focus-events on
set-option -sa terminal-overrides ",xterm*:Tc"
# set -g default-terminal "xterm-256color" by Nauval
set-option -g default-terminal "screen-256color"
set-option -ga terminal-overrides ",xterm-256color:Tc"
set -g status-left-length 40
set -g status-right-length 60
set -g status-position top
set -g status-fg white
set -g status-bg default
set-window-option -g mode-keys vi
set -g mode-style "fg=#ffffff,bg=$DARK"
set -g message-style "fg=#ffffff,bg=$DARK"
set -g message-command-style "fg=#ffffff,bg=$DARK"
set -g pane-border-style "fg=$GREY"
set -g pane-active-border-style "fg=$PRIMARY"
set -g status 2
set -g status-justify "left"
set -g status-style "fg=#2188ff,bg=$DARK"
set -g status-left-length "100"
set -g status-right-length "100"
set -g status-left-style NONE
set -g status-right-style NONE
set -g @batt_icon_charge_tier8 ''
set -g @batt_icon_charge_tier7 ''
set -g @batt_icon_charge_tier6 ''
set -g @batt_icon_charge_tier5 ''
set -g @batt_icon_charge_tier4 ''
set -g @batt_icon_charge_tier3 ''
set -g @batt_icon_charge_tier2 ''
set -g @batt_icon_charge_tier1 ''
set -g @batt_icon_status_charged ''
set -g @batt_icon_status_charging ''
set -g @batt_icon_status_discharging ''
set -g @batt_icon_status_unknown ''
set -g @batt_color_status_primary_charged '#3daee9'
set -g @batt_color_status_primary_charging '#3daee9'
set -g @prefix_highlight_bg "$PRIMARY"
set -g @prefix_highlight_fg "#FFFFFF"
set -g status-left " #[fg=$PRIMARY,bg=$DARK]#[fg=#ffffff,bg=$PRIMARY,bold] #S #[fg=$PRIMARY,bg=$DARK,nobold,nounderscore,noitalics] "
set -g status-right "#{prefix_highlight} #[fg=$LIGHT]#{cpu_icon} #{cpu_percentage} #[fg=$GREY]#[fg=#ffffff,bg=$GREY] #{battery_icon} #{battery_percentage} #[bg=$PRIMARY] %Y-%m-%d %I:%M %p #[fg=$PRIMARY,bg=$DARK]"
setw -g window-status-separator " "
setw -g window-status-format "#[fg=$GREY]#[fg=#ffffff,bg=$GREY]#I #W#F #[fg=$GREY,bg=$DARK]"
setw -g window-status-current-format "#[fg=$PRIMARY]#[fg=#ffffff,bg=$GREY]#[bg=$PRIMARY]#I #W#F #[fg=$PRIMARY,bg=$DARK]"
setw -g window-status-style "bg=$DARK"
setw -g window-status-last-style ""
setw -g status-format[1] "#[align=centre] Alacritty #{pane_current_command}"
unbind C-b
set-option -g prefix C-z
bind-key C-z send-prefix
# New Tmux Panes go to the same directory as the current pane
# Add -c "#{pane_current_path}" to the new-window/split-window commands.
bind c new-window -c "#{pane_current_path}"
bind % split-window -h -c "#{pane_current_path}"
bind '"' split-window -v -c "#{pane_current_path}"
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.tmux/plugins/tpm/tpm'