mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-05 23:09:26 -05:00
undo personal edits by mistake
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user