tmux: base config complete

This commit is contained in:
Bill Niblock 2025-03-06 08:33:52 -05:00
parent 3810359e1b
commit a3c7846172

View file

@ -4,8 +4,9 @@
#===============================================================================
# General Settings
#===============================================================================
set-option -g prefix C-b # Remap prefix key
set -g default-terminal "screen-256color" # Set terminal
set -g prefix C-b # Remap prefix key
set -g default-terminal "tmux-256color" # Set terminal
set -ga terminal-features ",xterm-256color:RGB" # Enable additional features
set -g mouse on # Enable mouse
set -sg escape-time 0 # Delay time
set -g display-time 2000 # Message display time
@ -33,23 +34,26 @@ set -g message-style "fg=#{@thm_red} bg=#{@thm_bg} bright"
# Menus
set -g menu-style "fg=#{@thm_fg}"
set -g menu-selected-style "fg=#{@thm_lavender} bg=#{@thm_bg}"
# Clock
set -g clock-mode-colour "fg=#{@thm_lavender}"
# Modes
set -g mode-style "fg=#{@thm_lavender} bg=terminal"
#===============================================================================
# Status Lines
#===============================================================================
setw -g monitor-activity on # Monitor window activity
set -wg monitor-activity on # Monitor window activity
set -g visual-activity off # No status line message
set -g allow-rename off # Disallow program renaming
set -g allow-set-title off
set -g allow-rename on # Disallow program renaming
set -g allow-set-title on
# TMUX Status Line
set -g status-interval 600
set -g status-left-length 40 # Left-side char length
set -g status-left "#[bright][ #h ] " # Left-side format
set -g window-status-format " #I " # Window-list format
set -g window-status-current-format " #I: #{pane_current_command} "
set -g status-right-length 80 # Right-side char length
WERR='#(echo -n "Error Fetching Weather Info")'
WEATHER='#(curl -s wttr.in/Buffalo?format="%%C+%%t+%%h+%%P%%20%%m" || $WERR)'
DATEISH='#(date +"%%A, %%B %d")'
set -g status-right "$WEATHER #[bright]// $DATEISH"
# Border Status Lines
set -g pane-border-format " [#{pane_current_path}] #{pane_current_command} "
#===============================================================================