use one special workspace per scratchpad
This commit is contained in:
parent
551cb6cac6
commit
2441385449
1 changed files with 2 additions and 2 deletions
|
@ -263,7 +263,7 @@ class Extension(Plugin):
|
||||||
await asyncio.sleep(0.2) # await for animation to finish
|
await asyncio.sleep(0.2) # await for animation to finish
|
||||||
|
|
||||||
if uid not in self.transitioning_scratches:
|
if uid not in self.transitioning_scratches:
|
||||||
await hyprctl(f"movetoworkspacesilent special:scratch,{pid}")
|
await hyprctl(f"movetoworkspacesilent special:scratch_{uid},{pid}")
|
||||||
|
|
||||||
if (
|
if (
|
||||||
animation_type and uid in self.focused_window_tracking
|
animation_type and uid in self.focused_window_tracking
|
||||||
|
@ -305,7 +305,7 @@ class Extension(Plugin):
|
||||||
wrkspc = monitor["activeWorkspace"]["id"]
|
wrkspc = monitor["activeWorkspace"]["id"]
|
||||||
|
|
||||||
self.transitioning_scratches.add(uid)
|
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}")
|
await hyprctl(f"movetoworkspacesilent {wrkspc},{pid}")
|
||||||
if animation_type:
|
if animation_type:
|
||||||
margin = item.conf.get("margin", DEFAULT_MARGIN)
|
margin = item.conf.get("margin", DEFAULT_MARGIN)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue