Skip to content

fix(config/Lua): check "workspace" instead of "id" in hl.workspace.move/rename - #14232

Merged
vaxerski merged 1 commit into
hyprwm:mainfrom
sh-gun:main
May 2, 2026
Merged

fix(config/Lua): check "workspace" instead of "id" in hl.workspace.move/rename#14232
vaxerski merged 1 commit into
hyprwm:mainfrom
sh-gun:main

Conversation

@sh-gun

@sh-gun sh-gun commented Apr 30, 2026

Copy link
Copy Markdown
Contributor

According to the wiki, this should work:

hl.dsp.workspace.move({ workspace = 1, monitor = "current" })

image

source

However, it doesn't, because "id" is expected in the Lua table instead of "workspace". "workspace" should be correct here because it's more descriptive and in line with all similar dispatchers. These were the only occurences of this mismatch I could find.

Very small and simple fix, so should be ready to merge.

@github-actions

Copy link
Copy Markdown

Hello and thank you for making a PR to Hyprland!

Please check the PR Guidelines and make sure your PR follows them.
It will make the entire review process faster. :)

If your code can be tested, please always add tests. See more here.

beep boop, I'm just a bot. A real human will review your PR soon.

@sh-gun

sh-gun commented May 2, 2026

Copy link
Copy Markdown
Contributor Author

Synced to pick up the upstream gtests fix (c7b8fe1)

@vaxerski
vaxerski merged commit fceb159 into hyprwm:main May 2, 2026
8 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants