komorebi-application-specific-configuration icon indicating copy to clipboard operation
komorebi-application-specific-configuration copied to clipboard

Adding Matching Strategies to Existing Entries

Open LGUG2Z opened this issue 2 years ago • 0 comments

Hello everybody, you'll be happy to know that in the next version of komorebi (v0.1.19), a complete refactor of matching rules will be shipped. 🎉

Each identifier object will now take an optional matching_strategy, which if not set, will default to Legacy in order to avoid breaking changes for existing users.

The matching_strategy options available will be:

These will be available to use both here in applications.yaml, and in your own personal komorebi.json files.

If you would like to contribute to the komorebi ecosystem, this issue is a great place to start! You can work on PRs adding simple matching strategies like Equals for exes, or more complex rules using regexes which have not been possible to build until now.

We will hold off on merging any of these PRs until v0.1.19 has been out for a week or so to give people time to upgrade, so don't worry if you don't see your PRs merged immediately!

LGUG2Z avatar Nov 03 '23 16:11 LGUG2Z