LGUG2Z / komorebi-application-specific-configuration

A central place to document all tweaks required for Komorebi to 'just work' with as many applications as possible
MIT License
69 stars 53 forks source link

Adding Matching Strategies to Existing Entries #56

Closed LGUG2Z closed 3 weeks ago

LGUG2Z commented 1 year ago

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!