Custom Update Hooks for Third-Party Software (Claude Code, Flatpak, etc.) #3433
ibihim
started this conversation in
Suggestions
Replies: 2 comments
-
|
Is it expected to put such scripts into |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Would make it nice to have hooks for config updates as well for those managing dots with sym link farms (stow, chezmoi, etc). |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Problem
Some software doesn't fit well into Omarchy's package management:
Right now, these have to be updated manually or via separate scripts, which fragments the update experience.
Proposal
Add support for user-defined update hooks in
omarchy-update, so we can run custom scripts alongside system updates.Possible Implementation
Something like:
~/.config/omarchy/update-hooks.d/ ├── pre/ │ └── 00-backup.sh └── post/ ├── 10-claude-code.sh └── 20-flatpak.shThese would run:
Example Hook
Similar Patterns
Other tools do this successfully:
Questions
Outlook
This hooking could be useful to overwrite the keybindings as well.
E.g. I am not using X and I would like to re-arrange some keybindings.
If those would be in a hook file, it might be easier to update without conflicts / backup files.
Beta Was this translation helpful? Give feedback.
All reactions