-
Notifications
You must be signed in to change notification settings - Fork 0
/
tmux.remote.conf
43 lines (37 loc) · 1.56 KB
/
tmux.remote.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
# Setting prefix Alt+a
set -g prefix M-a
# Changing colors for remote
color_main="colour240"
color_secondary="colour250"
# Setting colors
set -g mode-style "fg=default,bg=$color_main"
set -wg window-status-current-style "fg=$color_light,bold,bg=$color_main"
set -wg window-status-current-format \
"#[fg=$color_dark,bg=$color_main]$separator_powerline_right#[default] #I:#W# \
#[fg=$color_main,bg=$color_dark]$separator_powerline_right#[default]"
set -wg pane-active-border-style "fg=$color_main"
wg_date="#[fg=$color_secondary]%d.%m.%Y %H:%M#[default]"
wg_user_host="#[fg=$color_secondary]#(whoami)#[default]@#H tmux-remote"
wg_zoomed="#[fg=$color_dark,bg=$color_secondary][Z]#[default]"
wg_mouse="#[fg=$color_dark,bg=$color_secondary][Mouse]#[default]"
wg_session="#[fg=$color_secondary] #S #[default]"
set -g @prefix_highlight_bg "$color_secondary"
set -g @prefix_highlight_copy_mode_attr "fg=$color_dark,bg=$color_secondary"
set -g status-left "$wg_session#{prefix_highlight}$wg_is_zoomed "
set -g status-right "$wg_is_mouse | $wg_user_host | $wg_date "
set -g @prefix_highlight_empty_prompt '[M-A]'
set -g pane-border-status off
set -g set-titles off
# ===================
# === tmuxnoc ===
# ===================
unbind -n M-q
unbind C-l
unbind -n M-1
unbind -n M-2
unbind t
unbind -T copy-mode-vi MouseDown3Pane
unbind -n MouseDown3Pane
set-hook -ug pane-exited 'run "~/tmuxNOC/scripts/tmux_noc.py rename_windows"'
set-hook -ug after-kill-pane 'run "~/tmuxNOC/scripts/tmux_noc.py rename_window"'
set-hook -ug after-split-window 'run "~/tmuxNOC/scripts/tmux_noc.py rename_window"'