tmux: tweaking
This commit is contained in:
parent
503b857e21
commit
396179d628
@ -83,29 +83,38 @@ bind-key p run "xsel -o | tmux load-buffer - ; tmux paste-buffer"
|
|||||||
# Aesthetic
|
# Aesthetic
|
||||||
###########################
|
###########################
|
||||||
|
|
||||||
# pane border
|
|
||||||
{{- if (or (eq .chezmoi.hostname "arch") (eq .chezmoi.hostname "buzz")) }}
|
{{- if (or (eq .chezmoi.hostname "arch") (eq .chezmoi.hostname "buzz")) }}
|
||||||
set -g pane-active-border-style fg=yellow
|
set -g pane-active-border-style fg=yellow
|
||||||
{{- else }}
|
set -g message-command-style 'fg=#eeeeee bg=#333333 bold'
|
||||||
set -g pane-active-border-style fg=red
|
set -g message-style 'fg=#eeeeee bg=#333333 bold'
|
||||||
{{- end }}
|
|
||||||
|
|
||||||
# message/command bar
|
|
||||||
set -g message-command-style 'fg=#cccccc bg=#333333 bold'
|
|
||||||
set -g message-style 'fg=#cccccc bg=#333333 bold'
|
|
||||||
|
|
||||||
# status bar
|
|
||||||
set -g status off
|
set -g status off
|
||||||
set -g status-position bottom
|
set -g status-position top
|
||||||
set -g status-bg '#333333'
|
set -g status-bg '#333333'
|
||||||
set -g status-fg '#cccccc'
|
set -g status-fg '#eeeeee'
|
||||||
set -g status-left ''
|
set -g status-left ''
|
||||||
set -g status-right ''
|
set -g status-right ''
|
||||||
set -g window-status-format ''
|
set -g window-status-format ''
|
||||||
set -g window-status-current-format ''
|
set -g window-status-current-format ''
|
||||||
|
{{- else }}
|
||||||
|
set -g pane-active-border-style fg=red
|
||||||
|
set -g message-command-style 'fg=black bg=red bold'
|
||||||
|
set -g message-style 'fg=black bg=red bold'
|
||||||
|
set -g status on
|
||||||
|
set -g status-position top
|
||||||
|
set -g status-bg 'red
|
||||||
|
set -g status-fg 'black'
|
||||||
|
set -g status-left "#[bold align=centre]#I:#P #W"
|
||||||
|
set -g status-left-length 80
|
||||||
|
set -g status-right "#[bold][#(whoami)@#H]"
|
||||||
|
set -g status-right-length 20
|
||||||
|
set -g window-status-format ''
|
||||||
|
set -g window-status-current-format ''
|
||||||
|
{{- end }}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
{{- if (or (eq .chezmoi.hostname "arch") (eq .chezmoi.hostname "buzz")) }}
|
||||||
###############################################
|
###############################################
|
||||||
# local and nested remote tmux sessions
|
# local and nested remote tmux sessions
|
||||||
# - https://www.freecodecamp.org/news/tmux-in-practice-local-and-nested-remote-tmux-sessions-4f7ba5db8795/
|
# - https://www.freecodecamp.org/news/tmux-in-practice-local-and-nested-remote-tmux-sessions-4f7ba5db8795/
|
||||||
@ -115,20 +124,16 @@ bind -T root M-q \
|
|||||||
set prefix None \;\
|
set prefix None \;\
|
||||||
set key-table off \;\
|
set key-table off \;\
|
||||||
set status on \;\
|
set status on \;\
|
||||||
set status-right '#[bold align=centre]DIVING'
|
set status-right '#[bold align=centre]*LOCKED*'
|
||||||
|
|
||||||
bind -T off M-q \
|
bind -T off M-q \
|
||||||
set -u prefix \;\
|
set -u prefix \;\
|
||||||
set -u key-table \;\
|
set -u key-table \;\
|
||||||
set -u status off \;\
|
set -u status off \;\
|
||||||
set status-right ''
|
set status-right ''
|
||||||
|
|
||||||
# local and nested remote tmux sessions
|
|
||||||
###############################################
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
{{- if (or (eq .chezmoi.hostname "arch") (eq .chezmoi.hostname "buzz")) }}
|
|
||||||
#######################
|
#######################
|
||||||
# Plugins
|
# Plugins
|
||||||
#######################
|
#######################
|
||||||
|
Loading…
Reference in New Issue
Block a user