peterfajdiga / peterfajdiga/karousel
[Feature] Use regex / allow partial matching of window titles in Window Rules
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1.1k
- Forks
- 45
- PR merge metrics
- No merged PRs in 30d
Description
Problem: I want to play Minecraft windowed and don't want the window to be tiled automatically by Karousel, but it's not ideal to add the game window to the window rules list because the class and title for Minecraft always include the game version, which changes reguarly, so it's always escaping Karousel's ignore list.
Describe the solution you'd like
Allow for regex or partial matching to be used when adding window classes to the Window Rules tab. That way it would be possible to match only the part of the window class that doesn't change. E.g.: class: "/minecraft/"
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the Window Rules tab and the existing window class and title matching logic. Trace how rules are stored and applied, then define completion as supporting partial or regex matching so a stable part of a changing Minecraft class or title can match without adding each version separately.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- desktop
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100