Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -268,8 +268,8 @@ O laravel-ls não tem release para Linux arm64 e é pulado nessa plataforma.

As configs opinativas do terminal (todas opcionais e com backup):

- **kitty**: JetBrainsMono Nerd Font 12, abas compactas no topo (estilo
`fade`), fundo translúcido (80% de opacidade) com desfoque, tema Afterglow fixo (claro e escuro), e abas/janelas novas no
- **kitty**: JetBrainsMono Nerd Font 13, abas compactas no topo (estilo
`fade`, com botão `+` estreito para abrir abas), fundo translúcido (80% de opacidade) com desfoque, tema Afterglow fixo (claro e escuro), e abas/janelas novas no
diretório atual (`cmd+t`, `cmd+enter`, `cmd+n`; no Linux `ctrl+shift+t`,
`ctrl+shift+enter`, `ctrl+shift+n`).
- **herdr**: tema gruvbox, notificações no próprio herdr, atalhos dos plugins e
Expand Down
6 changes: 4 additions & 2 deletions catalog/configs/kitty/kitty.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,15 @@ font_family family="JetBrainsMono Nerd Font Mono"
bold_font auto
italic_font auto
bold_italic_font auto
font_size 12.0
font_size 13.0
disable_ligatures never

tab_bar_edge top
tab_bar_style fade
tab_bar_style custom
tab_title_template " {index}: {title} "
tab_bar_show_new_tab_button yes
tab_bar_margin_height 2 2
window_margin_width 0 0 10 0

background_opacity 0.80
background_blur 20
Expand Down
9 changes: 9 additions & 0 deletions catalog/configs/kitty/tab_bar.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Mantém o estilo fade nas abas e desenha o botão "+" estreito (3 células).
from kitty.tab_bar import draw_tab_with_fade


def draw_tab(draw_data, screen, tab, before, max_tab_length, index, is_last, extra_data):
if tab.tab_id < 0: # botão "+" (aba sintética do kitty)
screen.draw(' + ')
return screen.cursor.x
return draw_tab_with_fade(draw_data, screen, tab, before, max_tab_length, index, is_last, extra_data)
4 changes: 3 additions & 1 deletion catalog/items/kitty.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,13 @@ post_install:
fi
configs:
- id: kitty-config
description: {en: "JetBrainsMono Nerd Font, tabs on top, translucent background, new tabs in the current directory", pt-BR: "JetBrainsMono Nerd Font, abas no topo, fundo translúcido, abas novas no diretório atual"}
description: {en: "JetBrainsMono Nerd Font, tabs on top with a compact + button, translucent background, new tabs in the current directory", pt-BR: "JetBrainsMono Nerd Font, abas no topo com botão + compacto, fundo translúcido, abas novas no diretório atual"}
default: true
files:
- template: configs/kitty/kitty.conf
target: "{{.XDG_CONFIG}}/kitty/kitty.conf"
- template: configs/kitty/tab_bar.py
target: "{{.XDG_CONFIG}}/kitty/tab_bar.py"
- id: kitty-theme
description: {en: "Afterglow color theme, kept fixed in both light and dark system appearance", pt-BR: "Tema de cores Afterglow, fixo tanto no modo claro quanto no escuro do sistema"}
default: true
Expand Down
Loading