Theme Helix with the current Omarchy theme (#5530)
Helix had no theme integration. Installing it from the menu just ran omarchy-pkg-add and left the editor on whatever default theme it shipped with, regardless of the active Omarchy palette. This adds `default/themed/helix.toml.tpl` so the template renderer produces a helix.toml on every theme switch, and `omarchy-install-helix` that wires Helix up: - install the package - symlink `~/.config/helix/themes/omarchy.toml` at the rendered theme - seed a config.toml selecting that theme when the user has none The install menu routes Helix through this script. omarchy-restart-helix joins omarchy-theme-set and signals Helix with SIGUSR1 so theme changes are live [[1]], the same way as other packages. Arch-based distros package the binary as 'helix' rather than upstream 'hx', so the new scripts target 'helix' and the installer ends with a hint about aliasing 'hx'. [1]: https://docs.helix-editor.com/configuration.html Ref: https://github.com/basecamp/omarchy/discussions/4986
This commit is contained in:
@@ -57,6 +57,7 @@ omarchy-restart-hyprctl
|
||||
omarchy-restart-btop
|
||||
omarchy-restart-opencode
|
||||
omarchy-restart-mako
|
||||
omarchy-restart-helix
|
||||
|
||||
# Change app-specific themes
|
||||
omarchy-theme-set-gnome
|
||||
|
||||
Reference in New Issue
Block a user