Setup seamless, automatic, and persistent colorscheme switching in tmux
that follows colorsync
This commit is contained in:
parent
9c5a1479b7
commit
68b8a7b608
4 changed files with 62 additions and 8 deletions
|
|
@ -107,7 +107,7 @@ set -g history-limit 50000
|
|||
set -g display-time 2500
|
||||
|
||||
# Refresh 'status-left' and 'status-right' more often, from every 15s to 5s
|
||||
set -g status-interval 2
|
||||
set -g status-interval 5
|
||||
|
||||
# Focus events enabled for terminals that support them
|
||||
set -g focus-events on
|
||||
|
|
@ -121,13 +121,11 @@ setw -g automatic-rename off
|
|||
set-hook -g after-new-window "run-shell '~/.config/tmux/tmux-rename-window.sh | xargs tmux rename-window'"
|
||||
set-hook -g pane-focus-in "run-shell '~/.config/tmux/tmux-rename-window.sh | xargs tmux rename-window'"
|
||||
|
||||
setw -g window-status-format "#[bg=#171B24,fg=#CCCAC2] #[bold]#I #[default] #[fg=#73D0FF]#W #[default]"
|
||||
setw -g window-status-current-format "#[bg=#757B84,fg=#EFEDE7] #[bold]#I #[default] #[fg=#FFAD66]#W #[default]"
|
||||
|
||||
# Set the right status: Battery, date and time, session name
|
||||
set -g status-right "#($HOME/.config/tmux/tmux-status-right.sh)"
|
||||
run-shell '~/.config/tmux/tmux-statusbar-color.sh'
|
||||
run-shell '~/.config/tmux/tmux-watchman-statuscolor.sh'
|
||||
|
||||
set -g status-bg "#171B24"
|
||||
set -g status-style bold
|
||||
|
||||
# SSH agent forwarding
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue