Replace yq with pure bash for TOML parsing (#4171)

* Replace yq with pure bash for TOML parsing

The yq-based parsing only worked with jq/yq v3 and broke with go-yq v4.
This change removes the yq and uses bash for parsing. Some additional improvments:
- Handles single and double quoted values
- Strips inline comments (e.g. "#hex" #comment)

* Remove the no-longer-needed yq packages

---------

Co-authored-by: David Heinemeier Hansson <david@hey.com>
This commit is contained in:
Dominik
2026-01-09 15:39:07 +01:00
committed by David Heinemeier Hansson
parent ed9a4a45ba
commit febd18ce84
3 changed files with 10 additions and 14 deletions

View File

@@ -1,7 +1,5 @@
echo "Migrate to new theme setup"
omarchy-pkg-add yq
# Move user-added backgrounds from Omarchy theme folders to user config
OMARCHY_DIR="$HOME/.local/share/omarchy"
USER_BACKGROUNDS_DIR="$HOME/.config/omarchy/backgrounds"