fix tmux keybindings and colors

This commit is contained in:
2026-03-11 19:31:32 +00:00
parent 432a285fc3
commit 108d9a5d26
2 changed files with 61 additions and 53 deletions
+32 -45
View File
@@ -1,94 +1,81 @@
# Tmux theme colors (generated by matugen)
# Do not edit manually - run `matugen` to regenerate
# Uses Material Design 3 semantic color system
# =============================================
# Theme Colors
# Semantic Color Roles
# =============================================
# Primary colors
# Primary - main brand color
PRIMARY={{colors.primary.default.hex}}
ON_PRIMARY={{colors.on_primary.default.hex}}
PRIMARY_CONTAINER={{colors.primary_container.default.hex}}
ON_PRIMARY_CONTAINER={{colors.on_primary_container.default.hex}}
# Secondary colors
# Secondary - complementary accent
SECONDARY={{colors.secondary.default.hex}}
ON_SECONDARY={{colors.on_secondary.default.hex}}
SECONDARY_CONTAINER={{colors.secondary_container.default.hex}}
ON_SECONDARY_CONTAINER={{colors.on_secondary_container.default.hex}}
# Tertiary colors
# Tertiary - contrasting accent
TERTIARY={{colors.tertiary.default.hex}}
ON_TERTIARY={{colors.on_tertiary.default.hex}}
TERTIARY_CONTAINER={{colors.tertiary_container.default.hex}}
ON_TERTIARY_CONTAINER={{colors.on_tertiary_container.default.hex}}
# Surface colors
# Surface - backgrounds at different elevations
SURFACE={{colors.surface.default.hex}}
SURFACE_DIM={{colors.surface_dim.default.hex}}
SURFACE_BRIGHT={{colors.surface_bright.default.hex}}
SURFACE_CONTAINER={{colors.surface_container.default.hex}}
SURFACE_CONTAINER_LOW={{colors.surface_container_low.default.hex}}
SURFACE_CONTAINER_HIGH={{colors.surface_container_high.default.hex}}
SURFACE_VARIANT={{colors.surface_variant.default.hex}}
INVERSE_SURFACE={{colors.inverse_surface.default.hex}}
# Text colors
# On colors - text/icons on surfaces
ON_SURFACE={{colors.on_surface.default.hex}}
ON_SURFACE_VARIANT={{colors.on_surface_variant.default.hex}}
INVERSE_ON_SURFACE={{colors.inverse_on_surface.default.hex}}
# Utility colors
# Outlines - borders and dividers
OUTLINE={{colors.outline.default.hex}}
OUTLINE_VARIANT={{colors.outline_variant.default.hex}}
# Error - destructive actions
ERROR={{colors.error.default.hex}}
ON_ERROR={{colors.on_error.default.hex}}
ERROR_CONTAINER={{colors.error_container.default.hex}}
ON_ERROR_CONTAINER={{colors.on_error_container.default.hex}}
INVERSE_SURFACE={{colors.inverse_surface.default.hex}}
INVERSE_ON_SURFACE={{colors.inverse_on_surface.default.hex}}
INVERSE_PRIMARY={{colors.inverse_primary.default.hex}}
SCRIM={{colors.scrim.default.hex}}
SHADOW={{colors.shadow.default.hex}}
# =============================================
# Tmux Styling using theme colors
# Tmux Styling with Semantic Colors
# =============================================
# Status bar styling
set -g status-style "bg={{colors.surface.default.hex}},fg={{colors.on_surface.default.hex}}"
set -g status-left "#[fg={{colors.on_primary.default.hex}},bg={{colors.primary.default.hex}},bold] #S #[default] "
# Status bar - surface container for elevation
set -g status-style "bg={{colors.surface_container.default.hex}},fg={{colors.on_surface.default.hex}}"
# Status bar right side - date and time
# Left side - primary with on-primary text (max contrast)
set -g status-left "#[fg={{colors.on_primary.default.hex}},bg={{colors.primary.default.hex}},bold] #S #[bg={{colors.surface_container.default.hex}}] "
# Right side - muted text
set -g status-right "#[fg={{colors.on_surface_variant.default.hex}}]%Y-%m-%d #[fg={{colors.on_surface.default.hex}}]%H:%M #[default]"
# Window status format
# Window tabs - variant for inactive, primary for active
set -g window-status-format "#[fg={{colors.on_surface_variant.default.hex}}] #I:#W "
set -g window-status-current-format "#[fg={{colors.on_primary_container.default.hex}},bg={{colors.primary_container.default.hex}},bold] #I:#W #[default]"
set -g window-status-current-format "#[fg={{colors.on_primary.default.hex}},bg={{colors.primary.default.hex}},bold] #I:#W #[default]"
set -g window-status-separator ""
set -g status-justify left
# Pane borders
# Pane borders - outline for inactive, primary for active
set -g pane-border-style "fg={{colors.outline_variant.default.hex}}"
set -g pane-active-border-style "fg={{colors.primary.default.hex}}"
# Message styling (for confirm dialogs like kill-pane) - use high contrast
set -g message-style "fg={{colors.on_surface.default.hex}},bg={{colors.primary.default.hex}},bold"
set -g message-command-style "fg={{colors.on_surface.default.hex}},bg={{colors.secondary.default.hex}}"
# Messages - surface variant bg with on-surface text
set -g message-style "bg={{colors.surface_variant.default.hex}},fg={{colors.on_surface.default.hex}},bold"
set -g message-command-style "bg={{colors.surface_container.default.hex}},fg={{colors.on_surface.default.hex}}"
# Mode styling (copy mode, etc.)
set -g mode-style "fg={{colors.on_tertiary.default.hex}},bg={{colors.tertiary_container.default.hex}}"
# Copy mode - tertiary accent
set -g mode-style "bg={{colors.tertiary.default.hex}},fg={{colors.on_tertiary.default.hex}}"
# Clock mode
# Clock
set -g clock-mode-color "{{colors.primary.default.hex}}"
# Selection highlighting
set -g copy-mode-match-style "fg={{colors.on_tertiary.default.hex}},bg={{colors.tertiary_container.default.hex}}"
set -g copy-mode-current-match-style "fg={{colors.on_primary.default.hex}},bg={{colors.primary_container.default.hex}},bold"
set -g copy-mode-match-style "bg={{colors.tertiary_container.default.hex}},fg={{colors.on_tertiary_container.default.hex}}"
set -g copy-mode-current-match-style "bg={{colors.primary.default.hex}},fg={{colors.on_primary.default.hex}},bold"
# Popup styling
# Popups and menus
set -g popup-style "bg={{colors.surface_container.default.hex}},fg={{colors.on_surface.default.hex}}"
set -g popup-border-style "fg={{colors.outline.default.hex}}"
# Menu styling
set -g menu-style "bg={{colors.surface_container.default.hex}},fg={{colors.on_surface.default.hex}}"
set -g menu-selected-style "bg={{colors.primary_container.default.hex}},fg={{colors.on_primary_container.default.hex}}"
set -g menu-selected-style "bg={{colors.primary.default.hex}},fg={{colors.on_primary.default.hex}}"
set -g menu-border-style "fg={{colors.outline.default.hex}}"