forked from Shinonome/dots-hyprland
undo personal edits by mistake
This commit is contained in:
@@ -47,23 +47,12 @@ Scope {
|
|||||||
id: grab
|
id: grab
|
||||||
windows: [overlayWindow]
|
windows: [overlayWindow]
|
||||||
active: GlobalStates.overlayOpen
|
active: GlobalStates.overlayOpen
|
||||||
onActiveChanged: {
|
|
||||||
if (active) {
|
|
||||||
// Quick workspace flick to unlock cursor from game's relative mode
|
|
||||||
cursorUnlockProcess.running = true;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
onCleared: () => {
|
onCleared: () => {
|
||||||
if (!active)
|
if (!active)
|
||||||
GlobalStates.overlayOpen = false;
|
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 {
|
OverlayContent {
|
||||||
id: overlayContent
|
id: overlayContent
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
|
|||||||
Reference in New Issue
Block a user