Dynamic Color Match Obsidian theme to current Omarchy theme (#791)

* feat: obsidian theme to tie into Omarchy theme

* better color matching for search result matches

* feat: simplify install flow

* Removed install/remove scripts and flow
* First `omarchy-theme-set-obsidian` run will look for vaults in
Documents and Dropbox folders and add them to
`/.local/state/omarchy/obsidian-vaults`
  * Point of this is such that we assume a couple locations to look for
vaults but allow people to add vaults to the file for custom locations.
Subsequent theme-set invocations aren't impacted by find/search on large
systems
* Each `omarchy-theme-set` invocation will install the themes on all
found/registered vaults if missing and update the live theme
* Added an option of `omarchy-theme-set-obsidian --reset` to wipe out
themes in registered vaults and remove the registry file. This would be
the option to re-run to the automatic vault registration.
* Added migration to trigger install immediately in Obisdian, note that
you still need to pick Omarchy theme.
This commit is contained in:
Darcy Brown
2025-10-17 04:22:38 -05:00
committed by GitHub
parent f607ba51ff
commit 4174ff7b13
3 changed files with 663 additions and 0 deletions

3
migrations/1760441237.sh Normal file
View File

@@ -0,0 +1,3 @@
echo "Install Omarchy theme on Obsidian vaults"
omarchy-theme-set-obsidian