peterfajdiga / peterfajdiga/karousel

[Feature] Use regex / allow partial matching of window titles in Window Rules

Open
#121 1 comment 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.