Closed AThePeanut4 closed 4 months ago
Pyprland version 2.2.11
Describe the bug When using Hyprland built from the git repo (i.e. not a tagged release), pypr shows a Fail to parse hyprctl version error notification message on startup.
pypr
Fail to parse hyprctl version
In the output of hyprctl -j version, the tag property is v0.39.1-59-ga2366f78 for me, so I believe this https://github.com/hyprland-community/pyprland/blob/9254265fceac5059ecd4fa1bac35673304f49c01/pyprland/plugins/pyprland.py#L13-L20 just needs to discard the potential suffix before doing split(".").
hyprctl -j version
tag
v0.39.1-59-ga2366f78
split(".")
Thank you for this report! I'll take care of it soon!
Pyprland version 2.2.11
Describe the bug When using Hyprland built from the git repo (i.e. not a tagged release),
pypr
shows aFail to parse hyprctl version
error notification message on startup.In the output of
hyprctl -j version
, thetag
property isv0.39.1-59-ga2366f78
for me, so I believe this https://github.com/hyprland-community/pyprland/blob/9254265fceac5059ecd4fa1bac35673304f49c01/pyprland/plugins/pyprland.py#L13-L20 just needs to discard the potential suffix before doingsplit(".")
.