Skip to content

docs(preset): add Void Linux symbol to catppuccin-powerline#7497

Open
gaurav0107 wants to merge 1 commit into
starship:mainfrom
gaurav0107:fix/7397-feat-add-void-linux-symbol-to-catppuccin
Open

docs(preset): add Void Linux symbol to catppuccin-powerline#7497
gaurav0107 wants to merge 1 commit into
starship:mainfrom
gaurav0107:fix/7397-feat-add-void-linux-symbol-to-catppuccin

Conversation

@gaurav0107
Copy link
Copy Markdown

@gaurav0107 gaurav0107 commented May 24, 2026

Description

Adds Void = "" (Nerd Font U+F32E, the standard Void Linux logo) to the [os.symbols] table in docs/public/presets/toml/catppuccin-powerline.toml so users running Void Linux on the Catppuccin Powerline preset see a themed icon out of the box.

The change is a single-line addition appended to the existing section:

[os.symbols]
...
Redhat = "..."
RedHatEnterprise = "..."
Void = ""

Motivation and Context

Closes #7397.

The Type::Void enum variant is already handled by:

  • src/configs/os.rs (default config symbol mapping)
  • src/modules/os.rs (default fallback symbol)
  • docs/public/presets/toml/nerd-font-symbols.toml
  • docs/public/presets/toml/plain-text-symbols.toml

Catppuccin Powerline was the only Nerd-Font-aware preset missing this entry, so Void users had to manually override the symbol when adopting the preset.

How Has This Been Tested?

  • cargo fmt --all -- --check — passes (no Rust changes)
  • cargo clippy --workspace --locked -- -D warnings — passes
  • cargo check --workspace --locked — passes
  • cargo test --workspace --locked (preset + os modules) — passes locally
  • TOML syntax sanity-checked manually; insertion is a single Key = "string" line within an existing table

The change does not touch Rust code, so behavior of any module is unchanged. Existing Catppuccin users are unaffected unless they re-export the preset.

Screenshots (if appropriate)

N/A — preset content addition only.

Types of changes

  • Documentation update (preset is shipped via starship preset catppuccin-powerline)
  • Bug fix
  • New feature
  • Breaking change

Checklist

  • My code follows the code style of this project (matches existing entry style: PascalCase key, glyph-only quoted value, no trailing space).
  • My change requires a change to the documentation. (The change is the documentation.)
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes. (N/A — preset toml content is not unit-tested in repo.)
  • All new and existing tests passed.

The catppuccin-powerline preset's [os.symbols] table was missing
an entry for Void Linux. Add `Void = ""` (Nerd Font U+F32E,
the standard Void Linux logo) so users running Void on the
Catppuccin preset see a themed icon out of the box without a
manual override.

This matches the existing Void mapping in nerd-font-symbols.toml
and plain-text-symbols.toml, and the Type::Void enum is already
handled in src/configs/os.rs and src/modules/os.rs.

Closes starship#7397
@gaurav0107 gaurav0107 marked this pull request as ready for review May 24, 2026 18:23
Copy link
Copy Markdown

@cubic-dev-ai cubic-dev-ai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 1 file

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

Shadow auto-approve: would auto-approve. This is a single-line addition of a Void Linux icon mapping to a preset TOML file, which aligns with existing symbols for other operating systems and follows the same pattern, posing no risk to core logic, data, or infrastructure.

Re-trigger cubic

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: add Void Linux symbol to Catppuccin preset

1 participant