diff --git a/dots/.config/quickshell/ii/modules/overlay/Overlay.qml b/dots/.config/quickshell/ii/modules/overlay/Overlay.qml index efb37cd89..2fd33fcd7 100644 --- a/dots/.config/quickshell/ii/modules/overlay/Overlay.qml +++ b/dots/.config/quickshell/ii/modules/overlay/Overlay.qml @@ -47,23 +47,12 @@ Scope { id: grab windows: [overlayWindow] active: GlobalStates.overlayOpen - onActiveChanged: { - if (active) { - // Quick workspace flick to unlock cursor from game's relative mode - cursorUnlockProcess.running = true; - } - } onCleared: () => { if (!active) GlobalStates.overlayOpen = false; } } - Process { - id: cursorUnlockProcess - command: ["bash", "-c", "ws=$(hyprctl activeworkspace -j | jq -r '.id'); hyprctl --batch \"keyword animations:enabled 0 ; dispatch workspace empty ; dispatch workspace $ws ; keyword animations:enabled 1\""] - } - OverlayContent { id: overlayContent anchors.fill: parent