diff --git a/README.md b/README.md index 2c27bdc6..d63ea2aa 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ Check the [Getting started](https://github.com/hyprland-community/pyprland/wiki/ > [!note] > **WIP: current `main` branch** -> - no activity +> - `scratchpads`: enable `class_match` automatically if `process_tracking=false` # 1.6.6 diff --git a/pyprland/plugins/scratchpads.py b/pyprland/plugins/scratchpads.py index ce476312..a8c3379f 100644 --- a/pyprland/plugins/scratchpads.py +++ b/pyprland/plugins/scratchpads.py @@ -158,6 +158,7 @@ def __init__(self, uid, opts): self.conf = opts if not opts.get("process_tracking", True): self.conf["lazy"] = True + self.conf["class_match"] = True self.visible = False self.client_info = {} self.should_hide = False