No description
  • Shell 51.3%
  • Go Template 48.7%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Emilio 8ee45b50b9 Add theme-aware Starship prompt (ported from nix-config)
Renders modules/dots/starship/starship.toml's powerline layout with
Omarchy theme colors instead of the hardcoded arch_gradient palette,
via omarchy-theme-set-templates. The starship-contrast hook then picks
per-segment text colors for WCAG contrast, since a single fixed text
color isn't legible against every segment across both dark and light
themes.
2026-09-16 13:30:16 -04:00
hooks/theme-set.d Add theme-aware Starship prompt (ported from nix-config) 2026-09-16 13:30:16 -04:00
themed Add theme-aware Starship prompt (ported from nix-config) 2026-09-16 13:30:16 -04:00
.gitignore Add theme-aware Starship prompt (ported from nix-config) 2026-09-16 13:30:16 -04:00
README.md Add theme-aware Starship prompt (ported from nix-config) 2026-09-16 13:30:16 -04:00

Omarchy customizations

Theme-aware Starship prompt, ported from angelus's nix-config (git.avgtechguy.com/avgtechguy/nix-config, modules/dots/starship/starship.toml) and recolored to follow whatever Omarchy theme is active.

  • themed/starship.toml.tpl — template rendered into ~/.local/state/omarchy/current/theme/starship.toml by Omarchy's omarchy-theme-set-templates on every theme switch. ~/.config/starship.toml is a symlink to that generated file.
  • hooks/theme-set.d/starship-contrast — runs after the template renders and picks, per prompt segment, whichever theme text color gives the best WCAG contrast against that segment's background.

Restore on a fresh machine

ln -nsf ~/.local/state/omarchy/current/theme/starship.toml ~/.config/starship.toml
omarchy-theme-refresh