dotfiles/roles/tmux/templates/controller.tmux.conf.j2

40 lines
1.1 KiB
Django/Jinja

# Reload controller config with "r" key
unbind t
bind t source-file ~/.controller.tmux.conf \; display-message "Controller config reloaded..."
# No automatic renaming of windows
set -g automatic-rename off
# Enable 256-color terminal
set -g default-terminal "screen-256color"
# Set titles to be informative
set set-titles on
set set-titles-string "tmux: [#H] [#S] [#W:#D #I:#P]"
# Change colors on the pane seperators
set pane-border-fg colour237
set pane-active-border-fg colour27
# Tweak currently highlighted window ('active')
setw window-status-current-fg colour255
setw window-status-current-bg colour27
setw window-status-current-format " #F[#W] "
setw window-status-current-attr none
# Tweak overview of windows
setw window-status-format " #F[#I][#W] "
setw window-status-bg colour237
setw window-status-fg colour255
# Tweak status line design
set status-bg colour237
set status-fg colour27
set status-justify centre
set status-left " [#H] [#S] "
set status-left-length 100
set status-right ' [#(curl https://wttr.in/berlin?format=3)] [%Y-%m-%d %H:%M.%S] '
# Refresh status bar every second
set status-interval 1