Skip to content

Conversation

@svelterust
Copy link
Owner

Hey @neg-serg, saw you made some cool changes to this repository. Are the regex changes backwards-compatible with the current code? If so, I don't mind merging it so we can support more stuff.

- Add --tag and --xdgtag args that expand to matchers
- Match Tag against legacy tag and modern tags array
- Update usage and examples in README
@neg-serg
Copy link

neg-serg commented Nov 25, 2025

Hi! Yes, the regex changes are mostly backwards-compatible with the current code. The only thing that isn’t working yet is tag support — I was planning to fix that a bit later.

Let me know if you want me to prioritize that.

The reason for this change is that it allows you to write expressions like this:

class:^(firefox|org\.mozilla\.firefox|librewolf|io\.gitlab\.librewolf-community|floorp|one\.ablaze\.floorp|floorpdeveloperedition|yandex-browser|Yandex-browser|chromium|org\.chromium\.Chromium|thorium-browser|com\.thorium\.Thorium|palemoon|net\.palemoon\.PaleMoon)$

As a result, this makes it possible to cycle through all applications that meet the condition

@svelterust
Copy link
Owner Author

Yes, when you consider it ready I'll take a look then we can get it merged. As long as the current code and the examples in this repository works as is, it'd be great to get this merged too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants