Closed Sombrer0Dev closed 6 months ago
Oh sorry, I broke it with a recent change, I'll update it soon but in the meantime if you don't want to be bothered, just remove the "async" in move_clients_to_workspace:
diff --git a/pyprland/plugins/expose.py b/pyprland/plugins/expose.py
index 94f8af3..79b976f 100644
--- a/pyprland/plugins/expose.py
+++ b/pyprland/plugins/expose.py
@@ -15,7 +15,7 @@ class Extension(CastBoolMixin, Plugin): # pylint: disable=missing-class-docstri
return self.exposed_clients_list
return [c for c in self.exposed_clients_list if c["workspace"]["id"] > 0]
- async def move_clients_to_workspace(self, workspace, clients):
+ def move_clients_to_workspace(self, workspace, clients):
"""Move clients to a workspace"""
return [
f"movetoworkspacesilent {workspace},address:{client['address']}"
It was more complex than this, I tested copilot recently and didn't review the code carefully enough, it was completely broken. I pushed a new release reverting the "optimizations" of the expose plugin. Re-open if I missed something and thank you again for the quick report!
Pyprland version 2.2.6-3
Describe the bug expose plugin throws an AttributeError:
To Reproduce Steps to reproduce the behavior:
Expected behavior Behavior like in expose demo
Configuration (provide following files/samples when relevant):
Pyprland:
Hyprland: