hyprpm: target installed instead of running version (#8634)
--------- Signed-off-by: rooot <hey@rooot.gay>
This commit is contained in:
parent
e892310953
commit
33f271c29a
3 changed files with 62 additions and 20 deletions
|
|
@ -27,7 +27,8 @@ enum ePluginLoadStateReturn {
|
|||
LOADSTATE_OK = 0,
|
||||
LOADSTATE_FAIL,
|
||||
LOADSTATE_PARTIAL_FAIL,
|
||||
LOADSTATE_HEADERS_OUTDATED
|
||||
LOADSTATE_HEADERS_OUTDATED,
|
||||
LOADSTATE_HYPRLAND_UPDATED
|
||||
};
|
||||
|
||||
struct SHyprlandVersion {
|
||||
|
|
@ -53,7 +54,7 @@ class CPluginManager {
|
|||
ePluginLoadStateReturn ensurePluginsLoadState();
|
||||
|
||||
bool loadUnloadPlugin(const std::string& path, bool load);
|
||||
SHyprlandVersion getHyprlandVersion();
|
||||
SHyprlandVersion getHyprlandVersion(bool running = true);
|
||||
|
||||
void notify(const eNotifyIcons icon, uint32_t color, int durationMs, const std::string& message);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue