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:
1 parent
bfbfc8961e
commit
c716a20e04
6 files changed
+31
-13
No files matched your search
@@ -199,7 +199,7 @@ GlassPill {
|
||||
anchors.fill: parent
|
||||
hoverEnabled: root.pacman
|
||||
cursorShape: Qt.PointingHandCursor
|
||||
onClicked: Hyprland.dispatch("workspace " + (slot.index + 1))
|
||||
onClicked: Hyprland.dispatch("hl.dsp.focus({ workspace = '" + (slot.index + 1) + "' })")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user