tmux: add matugen theming

This commit is contained in:
Nico 2026-02-21 19:33:40 +11:00
parent f872f2a1fe
commit b23be17545
Signed by: nico
SSH key fingerprint: SHA256:XuacYOrGqRxC3jVFjfLROn1CSvLz85Dec6N7O9Gwu/0
3 changed files with 22 additions and 0 deletions

View file

@ -77,6 +77,11 @@ input_path = './templates/vicinae.toml'
output_path = '~/.local/share/vicinae/themes/matugen.toml' output_path = '~/.local/share/vicinae/themes/matugen.toml'
post_hook = 'vicinae theme set matugen' post_hook = 'vicinae theme set matugen'
[templates.tmux]
input_path = './templates/tmux.conf'
output_path = '~/.cache/matugen/tmux.conf'
post_hook = 'tmux source-file ~/.cache/matugen/tmux.conf'
[templates.macos-accent] [templates.macos-accent]
colors_to_compare = [ colors_to_compare = [
{ name = "-1", color = "#696766" }, # graphite { name = "-1", color = "#696766" }, # graphite

View file

@ -0,0 +1,13 @@
set -g status-style "bg=default"
set -g status-fg "{{ colors.tertiary.default.hex }}"
set -g status-left "#[bg={{ colors.primary_container.default.hex }},fg={{ colors.on_primary_container.default.hex }}]#{?client_prefix,#[reverse]#[bg={{ colors.on_secondary_container.default.hex }}]#[fg=black]#[noreverse]} #S "
set -g status-right "#[fg={{ colors.secondary.default.hex }}]%d/%m #[bg={{ colors.primary_container.default.hex }},fg={{ colors.on_primary_container.default.hex }}] #H "
# max allowed lenth for statuses to flow into
set -g status-left-length 20
set -g status-right-length 20
# tab bar
set -g window-status-format " #I #W "
set -g window-status-current-format " #I #W "
set -g window-status-current-style bg={{ colors.secondary_container.default.hex }},fg={{ colors.on_secondary_container.default.hex }},bold

View file

@ -63,3 +63,7 @@ set -g default-terminal "${TERM}"
set -as terminal-overrides ',*:Smulx=\E[4::%p1%dm' set -as terminal-overrides ',*:Smulx=\E[4::%p1%dm'
set -as terminal-overrides ',*:Setulc=\E[58::2::%p1%{65536}%/%d::%p1%{256}%/%{255}%&%d::%p1%{255}%&%d%;m' set -as terminal-overrides ',*:Setulc=\E[58::2::%p1%{65536}%/%d::%p1%{256}%/%{255}%&%d::%p1%{255}%&%d%;m'
set -gq allow-passthrough on set -gq allow-passthrough on
# matugen
if "test -f ~/.cache/matugen/tmux.conf" \
"source-file ~/.cache/matugen/tmux.conf"