tmux: add matugen theming
This commit is contained in:
parent
f872f2a1fe
commit
b23be17545
3 changed files with 22 additions and 0 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
13
stow/.config/matugen/templates/tmux.conf
Normal file
13
stow/.config/matugen/templates/tmux.conf
Normal 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
|
||||||
|
|
@ -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"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue