Repository navigation
Conversation
No Omarchy, o kitty.conf gerado inclui o arquivo de cores do tema atual (~/.local/state/omarchy/current/theme/kitty.conf) e os theme.auto.conf passam a incluir esse mesmo arquivo em vez de fixar o Afterglow. Fora do Omarchy, os arquivos gerados não mudam.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
O quê
No Omarchy, as configs do kitty passam a seguir o tema atual do sistema:
kitty.confganhainclude ~/.local/state/omarchy/current/theme/kitty.conf(caminho absoluto, respeitandoXDG_STATE_HOME).dark-theme.auto.confelight-theme.auto.confincluem esse mesmo arquivo em vez de fixar o Afterglow. Antes, eles sobrescreviam as cores do tema.Fora do Omarchy (macOS, outras distros), os arquivos gerados ficam idênticos aos de antes.
Como
configs.VarsganhaOmarchyKittyTheme, preenchido porVarsForquando o arquivo do tema existe. A detecção usa o arquivo, e nãoOMARCHY_PATH, para funcionar também em sessões sem o ambiente gráfico (ex.: SSH).globincludeporque o kitty não aceita caminho absoluto nessa diretiva.Testes
TestVarsOmarchyKittyTheme: detecção com e sem o arquivo, e precedência deXDG_STATE_HOME.TestKittyTemplatesFollowOmarchyTheme: renderiza os templates reais com e sem Omarchy.go test ./...passa.