migrate scratch to active monitor
This commit is contained in:
parent
abb1e71898
commit
d4bf8480e2
1 changed files with 2 additions and 0 deletions
|
@ -291,7 +291,9 @@ class Extension(Plugin):
|
||||||
animation_type = item.conf.get("animation", "").lower()
|
animation_type = item.conf.get("animation", "").lower()
|
||||||
|
|
||||||
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"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