Skip to content

chore: update Hyprland dispatcher syntax to Lua#22

Draft
jrthekidRSS wants to merge 5 commits into
chocolateimage:mainfrom
jrthekidRSS:hyprland-lua-support
Draft

chore: update Hyprland dispatcher syntax to Lua#22
jrthekidRSS wants to merge 5 commits into
chocolateimage:mainfrom
jrthekidRSS:hyprland-lua-support

Conversation

@jrthekidRSS

Copy link
Copy Markdown

This pull request simply updates the Hyprland dispatcher syntax to use the new one introduced in v0.55.0 without changing any of the plugin's logic.
I haven't tested it due because the plugin doesn't seem to load on my end if I compile it myself, even without my edits. Feel free to test it out yourself to see if it works because I'm not sure when I'll get around to solving the issue on my end.

@chocolateimage

Copy link
Copy Markdown
Owner

This change does not seem to work for me (windows are tiled). Also unrelated to this PR for some reason the main branch now is really laggy (maybe Hyprland is rate-limiting the commands?)

because the plugin doesn't seem to load on my end if I compile it myself, even without my edits

To make the plugin work, you have to run dotnet build in the "LinuxWindowDancePlugin" directory, copy the DLL file in the Bepinex plugins folder, then ./build.sh <path to game directory>, and in the game directory: ./run_bepinex.sh (not via Steam).

@jrthekidRSS

Copy link
Copy Markdown
Author

@chocolateimage while I continue working on these fixes, try testing to see if you still get a lot of lag. I can't tell how much it has improved since I didn't have much lag in the first place.
Window dancing should mostly work apart from some smaller things like window titles.

@jrthekidRSS

Copy link
Copy Markdown
Author

@chocolateimage you may want compare the performance between the last two commits.

@jrthekidRSS jrthekidRSS marked this pull request as draft June 16, 2026 03:47
@LilFishyChan

LilFishyChan commented Jun 19, 2026

Copy link
Copy Markdown

@chocolateimage you may want compare the performance between the last two commits.

I tried it, but there is still a serious lag problem: when pausing and resuming the game, the screen is smooth for about one second, and then it starts to lag and updates every second? ;There is a high probability that it is caused by the main window being completely transparent;
This is what I observed during the repair process using AI last week,
Maybe you could try setting the transparency of the main window to very low and then move it outside the screen

Hope this helps you :)

@LilFishyChan

LilFishyChan commented Jun 19, 2026

Copy link
Copy Markdown

It's actually a matter of handling the rules for the main window, so you can try to set the override rules manually after the game starts, and hide the main game window in this way:

hyprctl "eval hl.window_rule({match={initial_class='Rhythm Doctor',tag='_rd_window_main_hidden'},opacity=0.0001,no_blur=true,size = '0 0',move = '0 0'})"

(Note: Please set the window float first)

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.

3 participants