shell/tmux: new colorscheme; polish UI; use tpm & plugins
This commit is contained in:
parent
1e147be09c
commit
ed0cb5b10c
|
@ -43,11 +43,6 @@ set -g renumber-windows on # renumber windows when a window is closed
|
|||
# display tmux messages longer
|
||||
set -g display-time 1500
|
||||
set -g display-panes-time 800
|
||||
# redraw status line less frequently
|
||||
set -g status-interval 15
|
||||
# activity
|
||||
set -g monitor-activity on
|
||||
set -g visual-activity off
|
||||
|
||||
# focus events enabled for terminals that support them
|
||||
set -g focus-events on
|
||||
|
@ -186,47 +181,29 @@ if -b 'type -p reattach-to-user-namespace > /dev/null 2>&1' 'bind y run "tmux sa
|
|||
|
||||
# -- THEME -------------------------------
|
||||
|
||||
# The statusbar
|
||||
#set -g status-position bottom
|
||||
#set -g status-justify left
|
||||
# set -g status-right-length 100
|
||||
# set -g status-left-length 80
|
||||
# set -g status-left "#(~/.dotfiles/tmux/conf-status.sh left) "
|
||||
# set -g status-right "#(~/.dotfiles/tmux/conf-status.sh right) "
|
||||
#
|
||||
# set -g window-status-format " #I #W:#T "
|
||||
# set -g window-status-current-format " › #W:#T "
|
||||
|
||||
## Status bar design
|
||||
# status line
|
||||
set -g status-bg colour4
|
||||
set -g status-fg colour12
|
||||
set -g status-bg default
|
||||
set -g status-fg colour15
|
||||
set -g status-interval 10
|
||||
set -g status-attr dim
|
||||
set -g status-left '#{prefix_highlight}'
|
||||
set -g status-right "#[bg=colour236] #(echo ${USER})@#(hostname -s) #[bg=colour4]#[fg=colour0] #S "
|
||||
#set -g status-right-length 40
|
||||
#set -g status-left-length 1
|
||||
|
||||
# messaging
|
||||
set -g message-fg black
|
||||
set -g message-bg yellow
|
||||
# The messages
|
||||
set -g message-fg colour4
|
||||
set -g message-bg colour237
|
||||
set -g message-command-fg blue
|
||||
set -g message-command-bg black
|
||||
|
||||
# window mode
|
||||
setw -g mode-bg colour6
|
||||
setw -g mode-fg colour0
|
||||
|
||||
# window status
|
||||
setw -g window-status-current-bg colour0
|
||||
setw -g window-status-current-fg colour11
|
||||
setw -g window-status-current-attr dim
|
||||
setw -g window-status-bg green
|
||||
setw -g window-status-fg black
|
||||
setw -g window-status-attr reverse
|
||||
|
||||
# Info on left (I don't have a session display for now)
|
||||
set -g status-left ''
|
||||
|
||||
# loud or quiet?
|
||||
set-option -g visual-activity off
|
||||
set-option -g visual-bell off
|
||||
set-option -g visual-silence off
|
||||
set-window-option -g monitor-activity off
|
||||
set-window-option -g monitor-activity on
|
||||
set-option -g bell-action none
|
||||
|
||||
# The modes
|
||||
|
@ -236,46 +213,30 @@ setw -g mode-fg colour196
|
|||
setw -g mode-bg colour238
|
||||
|
||||
# The panes
|
||||
set -g pane-border-bg colour235
|
||||
set -g pane-border-fg colour238
|
||||
# set -g pane-border-bg default
|
||||
set -g pane-active-border-fg colour4
|
||||
set -g pane-active-border-bg colour235
|
||||
# set -g pane-active-border-bg default
|
||||
|
||||
# The statusbar
|
||||
set -g status-position bottom
|
||||
set -g status-fg colour137
|
||||
set -g status-bg colour8
|
||||
# set -g status-bg colour236
|
||||
set -g status-attr dim
|
||||
set -g status-left ''
|
||||
set -g status-right "#[fg=colour4]#(echo ${USER})#[fg=colour241]@#[fg=colour12]#(hostname) "
|
||||
set -g status-right-length 40
|
||||
set -g status-left-length 30
|
||||
|
||||
# setw -g window-status-current-fg colour9
|
||||
setw -g window-status-current-fg colour81
|
||||
setw -g window-status-current-bg colour0
|
||||
setw -g window-status-current-fg colour232
|
||||
setw -g window-status-current-bg colour236
|
||||
setw -g window-status-current-attr bold
|
||||
setw -g window-status-current-format ' #I#[fg=colour250]:#[fg=colour255]#W#[fg=colour50]#F '
|
||||
setw -g window-status-current-format '#[bg=colour4] #I #[bg=colour238]#[fg=colour4] #W '
|
||||
|
||||
setw -g window-status-fg colour242
|
||||
setw -g window-status-bg colour8
|
||||
setw -g window-status-fg colour240
|
||||
setw -g window-status-bg default
|
||||
setw -g window-status-attr none
|
||||
setw -g window-status-format ' #I#[fg=colour237]:#[fg=colour240]#W#[fg=colour240]#F '
|
||||
# setw -g window-status-format '#[fg=colour8] #I #[fg=default]#W '
|
||||
setw -g window-status-format ' #I #W '
|
||||
|
||||
setw -g window-status-activity-bg colour236
|
||||
setw -g window-status-activity-fg colour1
|
||||
setw -g window-status-activity-attr none
|
||||
|
||||
setw -g window-status-bell-attr bold
|
||||
setw -g window-status-bell-fg colour255
|
||||
setw -g window-status-bell-bg colour1
|
||||
|
||||
# The messages
|
||||
set -g message-attr bold
|
||||
set -g message-fg colour232
|
||||
set -g message-bg colour5
|
||||
|
||||
|
||||
##
|
||||
run-shell "~/.dotfiles-new/shell/tmux/scripts/prefix-highlight.tmux"
|
||||
|
||||
# User defined overrides
|
||||
if '[ -f ~/.tmux.local.conf ]' 'source ~/.tmux.local.conf'
|
||||
|
||||
|
@ -288,5 +249,8 @@ set -g @plugin 'tmux-plugins/tmux-logging'
|
|||
|
||||
set -g @plugin 'tmux-plugins/tmux-prefix-highlight'
|
||||
|
||||
set -g @prefix_highlight_fg colour0
|
||||
set -g @prefix_highlight_output_suffix ' #[bg=default] '
|
||||
|
||||
# Start plugin manager
|
||||
run '~/.tmux/plugins/tpm/tpm'
|
||||
|
|
Loading…
Reference in a new issue