From 244138544970eaa9a7ed3b741a773e78bec500c4 Mon Sep 17 00:00:00 2001 From: fdev31 Date: Sat, 29 Apr 2023 23:35:31 +0200 Subject: [PATCH] use one special workspace per scratchpad --- pyprland/plugins/scratchpads.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyprland/plugins/scratchpads.py b/pyprland/plugins/scratchpads.py index ea25e60..69c7d98 100644 --- a/pyprland/plugins/scratchpads.py +++ b/pyprland/plugins/scratchpads.py @@ -263,7 +263,7 @@ class Extension(Plugin): await asyncio.sleep(0.2) # await for animation to finish if uid not in self.transitioning_scratches: - await hyprctl(f"movetoworkspacesilent special:scratch,{pid}") + await hyprctl(f"movetoworkspacesilent special:scratch_{uid},{pid}") if ( animation_type and uid in self.focused_window_tracking @@ -305,7 +305,7 @@ class Extension(Plugin): wrkspc = monitor["activeWorkspace"]["id"] self.transitioning_scratches.add(uid) - await hyprctl(f"moveworkspacetomonitor special:scratch {monitor['name']}") + await hyprctl(f"moveworkspacetomonitor special:scratch_{uid} {monitor['name']}") await hyprctl(f"movetoworkspacesilent {wrkspc},{pid}") if animation_type: margin = item.conf.get("margin", DEFAULT_MARGIN)