Skip to content

update hyprctl dispatch commands to Lua syntax#121

Open
crankycrank wants to merge 1 commit into
scorpion-26:masterfrom
crankycrank:master
Open

update hyprctl dispatch commands to Lua syntax#121
crankycrank wants to merge 1 commit into
scorpion-26:masterfrom
crankycrank:master

Conversation

@crankycrank

Copy link
Copy Markdown

Hyprland is switching to Lua config and while hyprlang is still supported for a few releases it has been deprecated. Migrating one's config to Lua makes hyprctl use the new Lua syntax (Hyprland wiki: https://wiki.hypr.land/Configuring/Advanced-and-Cool/Using-hyprctl/#dispatch).
This pull request implements the correct new syntax for the hyprctl command. I have tested it on one monitor with 10 workspaces and it works the way it worked before: clicking on a workspace symbol focuses that workspace and scrolling with the mouse wheel when the pointer is in the workspaces area of gBar cycles focus between non-empty workspaces.
Tested against Hyprland-0.55.4 on Arch Linux.
Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant