chore: update Hyprland dispatcher syntax to Lua#22
Conversation
|
This change does not seem to work for me (windows are tiled). Also unrelated to this PR for some reason the
To make the plugin work, you have to run |
…es instead of 'set_prop' dispatcher
|
@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. |
|
@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; Hope this helps you :) |
|
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:
(Note: Please set the window float first) |
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.