Files
hyprcosmic/cosmic-conf/src
gitops 1d1909baaf cosmic-conf: HyDE theme importer
import-theme translates a HyDE hypr.theme into cosmic.conf, reusing the
Phase 1 parser — which is the payoff for choosing Hyprland-style syntax.

Nothing is dropped silently. Every source key either lands in the output or
carries a Note explaining why not, classified as NoEquivalent,
NeedsCompositorPatch, DifferentProgram or Lossy. Gradient borders contribute
their first stop as the accent and say so.

Handles real-world quirks found in actual theme files: HyDE's |> destination
header (no '=', would otherwise be a parse error), colon-keys like
shadow:enabled, and nested blur blocks.

Tests run against the verbatim Catppuccin-Mocha theme, and assert that the
generated conf both parses and resolves against the registry. Verified
end-to-end on Tokyo-Night, a theme absent from the tests: import -> apply
produced 8 correct cosmic-config files with 20 settings reported.

64 tests.
2026-08-09 22:35:28 +07:00
..
2026-08-09 22:31:40 +07:00
2026-08-09 22:35:28 +07:00
2026-08-09 22:35:28 +07:00
2026-08-09 22:35:28 +07:00
2026-08-09 22:31:40 +07:00
2026-08-09 22:31:40 +07:00