#!/usr/bin/env bash # Hardcoded values set -g status-bg "#272e33" set -g @unfocused-fg "#3c4841" set -g @focused-bg "#3c4841" set -g @focused-fg "#d3c6aa" # Set status bar position set -g status-position top # Set status bar justification set -g status-justify left # Set right side of the status bar set -g status-right '#(cat #{socket_path}-\#{session_id}-vimbridge-R)' set -g status-left '[#S] ' # Set status bar style set -g status-style ' #[bg=#{status-bg},fg=#{@unfocused-fg}]' # Set window status format set -g window-status-format ' #I:#W ' # Set window status format for the current window set -g window-status-current-format '#[bg=#{@focused-bg},fg=#{@focused-fg}] #I:#W ' # AUTO RENAME WINDOW #set-option -g status-interval 5 #set-option -g automatic-rename on #set-option -g automatic-rename-format "#{?#{==:#{pane_current_command},zsh},#{b:pane_current_path},#{pane_current_command}}"