Update tmux conf to support one-dark theme

This commit is contained in:
Marcus Kammer 2023-11-12 11:04:08 +01:00
parent 9fa18166ca
commit 56a9e0fd12
Signed by: marcuskammer
GPG key ID: C374817BE285268F

View file

@ -391,19 +391,32 @@ write_files:
# Uncomment the line below if you are on macOS and have reattach-to-user-namespace installed
# set-option -g default-command "reattach-to-user-namespace -l $SHELL"
# Set status bar
set -g status-bg black
set -g status-fg white
set -g status-interval 5
set -g status-left "#[fg=green]#H"
set -g status-right "#[fg=yellow]#(date '+%Y-%m-%d %H:%M')"
# Highlight active window in status bar
setw -g window-status-current-style bg=red
# Increase history limit
set -g history-limit 50000
# One Dark theme specific settings
# Status bar colors
set -g status-bg colour235 # Base background color
set -g status-fg colour137 # Base foreground color
set -g status-interval 5
set -g status-left "#[fg=colour81]#H" # Hostname in a different color
set -g status-right "#[fg=colour137]#(date '+%Y-%m-%d %H:%M')" # Date and time
# Active window in status bar
setw -g window-status-current-style fg=colour125,bg=colour235,bold
# Pane border
set -g pane-border-style fg=colour238
set -g pane-active-border-style fg=colour81
# Message styling
set -g message-style fg=colour166,bg=colour235
# Window list - pane number (current and other)
setw -g window-status-current-format "#[bold,fg=colour81]#I:#W#F"
setw -g window-status-format "#[fg=colour137]#I:#W#F"
- path: /home/cl/access_logs.sql
owner: 'cl:cl'
defer: True