expose: disable togglespecialworkspace when hiding the workspace because movetoworkspacesilent is already doing it

This commit is contained in:
Hydroxycarbamide 2023-10-29 20:23:10 +01:00
parent 1653d383d3
commit fff23c250e

View file

@ -42,7 +42,7 @@ class Extension(Plugin): # pylint: disable=missing-class-docstring
await hyprctl(
f"movetoworkspacesilent {client['workspace']['id']},address:{client['address']}"
)
await hyprctl("togglespecialworkspace exposed")
# await hyprctl("togglespecialworkspace exposed")
await hyprctl(f"focuswindow address:{focused_addr}")
self.exposed = []
else: