Repository navigation
Conversation
Contributor
|
Agreed on the benefits of this. Maybe putting this dir in the But otherwise, this makes sense to me fwiw. 👍 |
This was referenced Aug 15, 2025
Contributor
|
This is an interesting idea, but I think it's too cumbersome. I think if you want to do something like this, you should just add your own theme switching script, call the omarchy one, then call your own setup in extension of that. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I was looking into how I'd wire up the theme switcher with Doom Emacs and noticed a few PRs for theming other non-default applications too. Here's a quick proposal, inspired by how custom themes work, that would allow a hooks/plugins system for extending this functionality.
~/.local/share/omarchy/theme-set-hookshook.shat root levelomarchy-theme-setexecutes allhook.shfilesSo for example, to use this to add support for theming Doom Emacs, I could do something like:
omarchy-theme-set-hook-doom-emacs:(load-theme '$THEME_NAME t)and update any configuration~/.local/share/omarchy/theme-set-hooks/doom-emacs/~/.local/share/omarchy/theme-set-hooks/doom-emacs/hook.shis ran to change the Doom Emacs theme tooRather than
theme-set-hooks, could be less verbose and usetheme-hooksor similar instead.Any thoughts on this approach?