Add comments

This commit is contained in:
dabruh 2023-11-17 21:24:04 +01:00
parent e209581e88
commit 97a5065b89
1 changed files with 16 additions and 8 deletions

View File

@ -63,15 +63,23 @@ set -sg escape-time 0
bind r source-file ~/.tmux.conf bind r source-file ~/.tmux.conf
# THEME # THEME
set-option -g status-interval 2 set-option -g status-interval 2 # Sets the interval for updating the status bar in seconds
set -g status-bg 'black' set -g status-bg 'black' # Sets the background color of the status bar to black
set -g status-justify 'centre' set -g status-justify 'centre' # Sets the alignment of status bar content to the center
set -g status 'on' set -g status 'on' # Enables the status bar
set -g status-left-length '100' set -g status-left-length '100' # Sets the length of the left side of the status bar to 100
set -g status-right-length '100' set -g status-right-length '100' # Sets the length of the right side of the status bar to 100
set -g window-status-style fg=white,bg=black,none set -g window-status-style fg=white,bg=black,none # Sets the style for the window status line
set -g window-status-activity-style fg=colour221,bold set -g window-status-activity-style fg=colour221,bold # Sets the style for the active window in the status line
# Sets the content for the left side of the status bar using various formatting options and commands
set -g status-left '#[fg=black,bg=colour221,nobold,nounderscore,noitalics] #S #[fg=colour221,bg=blue]#[fg=black,bg=blue] #{=15:window_name} #[fg=blue,bg=colour250]#[fg=black,bg=colour250] #(kubectl config current-context 2>/dev/null) #[fg=colour250,bg=black]' set -g status-left '#[fg=black,bg=colour221,nobold,nounderscore,noitalics] #S #[fg=colour221,bg=blue]#[fg=black,bg=blue] #{=15:window_name} #[fg=blue,bg=colour250]#[fg=black,bg=colour250] #(kubectl config current-context 2>/dev/null) #[fg=colour250,bg=black]'
# Sets the content for the right side of the status bar using various formatting options and commands
set -g status-right '#[fg=blue,bg=black,nobold,nounderscore,noitalics]#[fg=black,bg=blue] %Y-%m-%d %H:%M #[fg=colour221,bg=blue]#[fg=black,bg=colour221] #(whoami)@#h ' set -g status-right '#[fg=blue,bg=black,nobold,nounderscore,noitalics]#[fg=black,bg=blue] %Y-%m-%d %H:%M #[fg=colour221,bg=blue]#[fg=black,bg=colour221] #(whoami)@#h '
# Sets the format for displaying window information in the status line
setw -g window-status-format ' #I #{=5:window_name} ' setw -g window-status-format ' #I #{=5:window_name} '
# Sets the format for displaying the active window in the status line
setw -g window-status-current-format '#[fg=colour221,bg=black,nobold,nounderscore,noitalics]#[fg=black,bold,bg=colour221]#I#F#{=5:window_name}#[fg=colour221,bg=black,nobold,nounderscore,noitalics]' setw -g window-status-current-format '#[fg=colour221,bg=black,nobold,nounderscore,noitalics]#[fg=black,bold,bg=colour221]#I#F#{=5:window_name}#[fg=colour221,bg=black,nobold,nounderscore,noitalics]'