Use Lua dispatches and options for Hyprland 0.57

Hyprland 0.57 removed hyprctl keyword and name-style dispatches, and
hyprglass 1.1 dropped its layer namespace options. Move workspace, window,
logout, glass and Game Mode calls to hl.dsp and hyprctl eval.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
mxandClaude Opus 5.5 committed 2026-11-06 20:39:45 +01:00
1 parent bfbfc8961e
commit c716a20e04
6 files changed
+31 -13

No files matched your search

@@ -26,6 +26,6 @@ Singleton {
return s ? s.devicePixelRatio : 1;
}
function switchToWorkspace(workspace) {
Hyprland.dispatch("workspace " + (workspace && workspace.id !== undefined ? workspace.id : workspace));
Hyprland.dispatch("hl.dsp.focus({ workspace = '" + (workspace && workspace.id !== undefined ? workspace.id : workspace) + "' })");
}
}