Tmux : Use stylix.

This commit is contained in:
Dmitry Voronin 2024-04-03 07:11:14 +03:00
parent 38ea959f48
commit 8760dcadcb

View file

@ -21,11 +21,11 @@ bind -T copy-mode-vi v send -X begin-selection
bind -T copy-mode-vi y send-keys -X copy-pipe-and-cancel "pbcopy"
# Selection style.
# set -g mode-style "fg=#$bg_3 bg=#$accent bold"
set -g mode-style "fg=#$bg bg=#$accent bold"
# Pane style.
# set -g pane-border-style "fg=#$bg_1"
# set -g pane-active-border-style "fg=#$bg_1"
set -g pane-border-style "fg=#$bg"
set -g pane-active-border-style "fg=#$bg"
# Remap split keys.
bind -n M-\\ split-window -h -c "#{pane_current_path}"
@ -68,27 +68,27 @@ bind-key -n M-f run-shell 'tmux_script togglestatusbar'
set -g status-interval 2
set -g status-position bottom
set -g status-justify left
# set -g status-style "bg=#$bg_2 fg=#$fg_3"
set -g status-style "bg=#$bg fg=#$fg"
set -g status-left " #H-#S #(tmux_script client_count #S)"
set -g status-left "#[bold,bg=#$accent,fg=#$bg] #H-#S #(tmux_script client_count #S)#[fg=#$accent,bg=#$bg]"
set -g status-left-length 50
set -g status-right-length 50
set -g status-right "#(tmux_script statusbar) %d %a  %H:%M "
set -g status-right "#(tmux_script statusbar) %d %a #[fg=#$accent,bg=#$bg]#[bold,bg=#$accent,fg=#$bg] %H:%M "
set-window-option -g window-status-separator ""
# setw -g window-status-current-style "fg=#$fg bold"
setw -g window-status-current-style "fg=#$accent bold"
setw -g window-status-current-format " #W "
# setw -g window-status-style ""
setw -g window-status-style ""
setw -g window-status-format " #W "
set-window-option -g visual-bell off
# setw -g window-status-bell-style "bold blink"
setw -g window-status-bell-style "bold blink"
# Create new window.
bind -n M-Escape new-window -c "#{pane_current_path}"
bind -n M-t new-window -c "#{pane_current_path}" # NOTE: for compatibility reasons.
bind -n M-t new-window -c "#{pane_current_path}"
# Close window.
bind -n M-x kill-window