mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-01-11 14:40:25 +01:00
[FEAT]: Support for multiple Application-specific configuration files #325
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Sludging on GitHub (Apr 7, 2024).
Is your feature request related to a problem? Please describe.
I'd like to be able to maintain a local and personal set of application-specific rules but still benefit from the community-maintained repository.
I've had a list of personal rules defined in my
komorebi.generated.ps1and I accidently removed all of my changes when I ranDescribe the solution you'd like
Convert
app_specific_configuration_pathinto an array allowing for multiple files to be loaded instead of a single one.Describe alternatives you've considered
When using the Powershell configuration (
komorebi.ps1), I can solve it using the below:But I don't believe this is available for the
komorebi.jsonconfiguration file (I'm still not clear which is the preferred method at this point, are both configuration methods equally supported moving forward?)@LGUG2Z commented on GitHub (Apr 7, 2024):
This is a great idea, let's aim to get this into v0.1.24. 🤞
@Vernetzt commented on GitHub (Mar 14, 2025):
Was support for multiple files added to
komorebi.jsonas well? I can't seem to find any documentation on it.I have accumulated quite a number of rules that could benefit from this as sadly most of them are not suitable for the curated
applications.jsonthat gets maintained.The above implies that it is possible but I am not sure what the annoyance of allowing an array of items within the JSON file would cause if support was added.
@LGUG2Z commented on GitHub (Mar 14, 2025):
@Vernetzt Thought I had added this a long time ago but evidently not! Just pushed a commit with this feature - the asc path config option can now take either a single path string or a vec of path strings.
@Vernetzt commented on GitHub (Mar 14, 2025):
Thanks! This will help my sanity greatly.
@jeeeem commented on GitHub (Mar 14, 2025):
does the multiple application config json files work for you? I just tried this new feature but Im encountering this error.
EDIT: nvm i got it working. I just the use same format for application.json, forgot it has its own schema