hyprland load bind config before hyprpm load plugin? #4373
Replies: 8 comments 6 replies
-
|
well hyprpm reload gets launched as a command, and it doesn't reload the config, your plugins should do that, in the init func. A workaround would be to change the exec once to: exec-once = hyprpm reload && hyprctl reload |
Beta Was this translation helpful? Give feedback.
-
|
I have done this, but the boot always appears an error message, and then the error message disappears, this boot way is too ugly |
Beta Was this translation helpful? Give feedback.
-
|
I want error messages to never appear, which requires the bind configuration to load after hyprpm loads the plug-in |
Beta Was this translation helpful? Give feedback.
-
|
I hope you consider this need, this kind of startup is really not very beautiful |
Beta Was this translation helpful? Give feedback.
-
|
Same phenomenon, the error message appears first, and then the error message disappears |
Beta Was this translation helpful? Give feedback.
-
I think it's a little rude to just disable the error messag |
Beta Was this translation helpful? Give feedback.
-
|
Edit: Nevermind, it doesn't. |
Beta Was this translation helpful? Give feedback.
-
|
I know this topic is closed, but from both a UX perspective and a maintainer's perspective the suggested workarounds are subpar. I couldn't find any evidence of proposed solutions to this issue, either. I have thought about this quite a bit and took a stab at solving this race condition. IMO it is a very elegant solution in a minimal changeset. It is not a complete solution, rather a proof of concept, but I believe is a start to a complete solution. However, as was true previously with other topics, I may overlooked something. IMO The reason this doesn't sit right with me (and others) is error fatigue and the externalization of internal logic on to users, as well as the need for plugin developers to communicate these race-conditions to a group a users with varying skill and knowledge levels; which adds friction to development. Truncated PR DescriptionRequirements:
UX and development issues resolved:
I have successfully tested and validated the following cases:
Instructions to run the tests are available in the PR. Will open a PR to upstream if requested. |
Beta Was this translation helpful? Give feedback.


Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I need some help.
Some of the custom dispatch commands on my plugin load before hyprpm reload, so it starts with an error.
how to fix it??
Beta Was this translation helpful? Give feedback.
All reactions