From d4bf8480e29f3ed693ef9e40922dbca43ba70f5c Mon Sep 17 00:00:00 2001 From: fdev31 Date: Fri, 28 Apr 2023 12:36:37 +0200 Subject: [PATCH] migrate scratch to active monitor --- pyprland/plugins/scratchpads.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pyprland/plugins/scratchpads.py b/pyprland/plugins/scratchpads.py index 7ee5df1..e203cee 100644 --- a/pyprland/plugins/scratchpads.py +++ b/pyprland/plugins/scratchpads.py @@ -291,7 +291,9 @@ class Extension(Plugin): animation_type = item.conf.get("animation", "").lower() wrkspc = monitor["activeWorkspace"]["id"] + self.transitioning_scratches.add(uid) + await hyprctl(f"moveworkspacetomonitor special:scratch {monitor['name']}") await hyprctl(f"movetoworkspacesilent {wrkspc},{pid}") if animation_type: margin = item.conf.get("margin", DEFAULT_MARGIN)