dotfiles/.config/tmux/tmux_status_bar.conf

36 lines
907 B
Text
Raw Permalink Normal View History

2024-02-22 11:33:07 +00:00
#!/usr/bin/env bash
# Hardcoded values
2024-04-18 01:22:01 +01:00
set -g status-bg "#1d2021"
2024-02-22 11:33:07 +00:00
set -g @unfocused-fg "#d4be98"
set -g @focused-bg "#d4be98"
2024-04-18 01:22:01 +01:00
set -g @focused-fg "#1d2021"
2024-06-01 19:56:30 +01:00
2024-02-22 11:33:07 +00:00
# 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
2024-06-01 19:56:30 +01:00
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}]'
2024-02-22 11:33:07 +00:00
# Set window status format
2024-06-01 19:56:30 +01:00
set -g window-status-format ' #I:#W '
2024-02-22 11:33:07 +00:00
# Set window status format for the current window
2024-06-01 19:56:30 +01:00
set -g window-status-current-format '#[bg=#{@focused-bg},fg=#{@focused-fg}] #I:#W '
# AUTO RENAME WINDOW
set-option -g status-interval 1
set-option -g automatic-rename on
set-option -g automatic-rename-format "#{?#{==:#{pane_current_command},zsh},#{b:pane_current_path},#{pane_current_command}}"