Working tmux window styles
This commit is contained in:
22
.tmux.conf
22
.tmux.conf
@@ -71,7 +71,7 @@ set-option -g status-right-length 60 # Set the maximum length of the right
|
|||||||
set-option -g status-right "S:#S W:#I P:#P | %b %d %H:%M" # Display session name, window index, pane index, and the date/time on the right
|
set-option -g status-right "S:#S W:#I P:#P | %b %d %H:%M" # Display session name, window index, pane index, and the date/time on the right
|
||||||
|
|
||||||
# Status bar style
|
# Status bar style
|
||||||
set-option -g status-style bg=default,fg=colour8,bright # Set the background to default (transparent), foreground color, and brightness
|
set-option -g status-style bg=#000000,fg=grey # Set the background to default (transparent), foreground color, and brightness
|
||||||
|
|
||||||
#########################################
|
#########################################
|
||||||
# Pane Appearance
|
# Pane Appearance
|
||||||
@@ -90,17 +90,25 @@ set-option -g message-style bg=default,fg=colour13 # Style for messages displaye
|
|||||||
# Window Appearance
|
# Window Appearance
|
||||||
#########################################
|
#########################################
|
||||||
|
|
||||||
set-option -g window-style bg=default # Default background color for windows
|
set-window-option -g window-style bg=default # Default background color for windows
|
||||||
set-option -g window-active-style bg=default # Background color for the active window
|
set-window-option -g window-active-style bg=default # Background color for the active window
|
||||||
|
|
||||||
#########################################
|
#########################################
|
||||||
# Window List Appearance
|
# Window List Appearance
|
||||||
#########################################
|
#########################################
|
||||||
|
|
||||||
set-option -g window-status-style fg=colour8,bg=default # Or your preferred inactive style
|
#set-window-option -g window-status-style fg=blue # Or your preferred inactive style
|
||||||
set-option -g window-status-current-style fg=colour2,bg=colour0,bright
|
#set-window-option -g window-status-format "#[fg=blue] #I:#W#[fg=blue]#{?window_activity_flag,#[fg=yellow bg=default]!,}"
|
||||||
set-option -g window-status-format "#[fg=colour8,bg=default] #I:#W#[fg=colour8,bg=default]#{?window_activity_flag,#[fg=colour11]! ,}"
|
#set-window-option -g window-status-current-style fg=green,bright
|
||||||
set-option -g window-status-current-format "#[fg=colour2,bg=colour0,bright]● #I:#W ●#[fg=colour2,bg=colour0,nobold]"
|
#set-window-option -g window-status-current-format "#[fg=green,bright]● #I:#W ●#[fg=green]"
|
||||||
|
|
||||||
|
# Stolen from https://github.com/mhartington/dotfiles/blob/main/config/tmux/tmux-status.conf
|
||||||
|
|
||||||
|
# Not active window
|
||||||
|
set-window-option -g window-status-format "#{?window_activity_flag,#[bg=#ffff00 fg=#000000 bold],#[fg=#228b22 bg=default]}#I:#W"
|
||||||
|
|
||||||
|
# Active window
|
||||||
|
set-window-option -g window-status-current-format "#[bg=default fg=#7cfc00]● #I:#W"
|
||||||
|
|
||||||
#########################################
|
#########################################
|
||||||
# Window Titles
|
# Window Titles
|
||||||
|
|||||||
Reference in New Issue
Block a user