hyprwm / Hyprland

Hyprland is an independent, highly customizable, dynamic tiling Wayland compositor that doesn't sacrifice on its looks.
https://hyprland.org
BSD 3-Clause "New" or "Revised" License
19.55k stars 821 forks source link

Hyprpm: Plugins aren't loading on startup #5439

Open gptlang opened 5 months ago

gptlang commented 5 months ago

Hyprland Version

System/Version info ```sh Hyprland, built from branch main at commit baad44b4ca28d62fb9d86ed1f83650b6695b501d dirty (hyprpm: fix incorrect commits number parsing (5437)). Date: Fri Apr 5 04:40:44 2024 Tag: v0.38.0-37-gbaad44b4, commits: 4370 flags: (if any) ```

Bug or Regression?

Bug

Description

~> hyprctl plugin list
no plugins loaded

~> hyprpm list
 → Repository hyprland-plugins:
  │ Plugin hyprexpo
  └─ enabled: true

I placed exec-once = hyprpm reload in my config but that doesn't do anything. I must manually run hyprpm reload after starting Hyprland for the plugin to load

How to reproduce

Crash reports, logs, images, videos

None

alba4k commented 5 months ago

as a workaround, try exec-once = sleep 1 && hyprpm reload

should work tho

gptlang commented 5 months ago

Indeed. Should this be closed or can I expect a less hacky fix?

alba4k commented 5 months ago

I would't close this. The setup you described works for me tho, not sure why it's broken for you

Do you have autoreload disabled?

gptlang commented 5 months ago

How do I enable it? I didn't disable it but I'm not sure what the defaults are

alba4k commented 5 months ago

Enabled by default, so that is not the problem

vaxerski commented 5 months ago

so if you add a sleep it works?

gptlang commented 5 months ago

Yes

ogios commented 1 month ago

i have to sleep 2 for hyprpm, and 1 for hyprpaper🤔

adityavishwakarma69 commented 3 weeks ago

while the workaround does work for me i still get the error prompt i really don't want to disable it since it is useful is most situations and since i launch hyprland from tty i can see error for a while there also it is pretty annoying