qs: remove no longer necessary unlock refocus hack

This commit is contained in:
end-4
2026-05-14 14:34:45 +02:00
parent 5c66902900
commit d5f9afe7c0
@@ -74,9 +74,6 @@ Scope {
// Unlock the screen before exiting, or the compositor will display a
// fallback lock you can't interact with.
GlobalStates.screenLocked = false;
// Refocus last focused window on unlock (hack)
Quickshell.execDetached(["bash", "-c", `sleep 0.2; hyprctl dispatch 'hl.dsp.workspace.toggle_special("special")'; hyprctl dispatch 'hl.dsp.workspace.toggle_special("special")'`])
// Reset
lockContext.reset();