diff options
| author | rooot <hey@rooot.gay> | 2024-12-11 17:49:09 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-12-11 17:49:09 +0100 |
| commit | 33f271c29a0069a95755b1d3252aeebe0fd85287 (patch) | |
| tree | 33b625c9f4de21cf143b57bdd2c55f3adef74cb3 /hyprpm/src/core/PluginManager.hpp | |
| parent | e89231095383404853cef93d4aa7230a71a59560 (diff) | |
hyprpm: target installed instead of running version (#8634)
---------
Signed-off-by: rooot <hey@rooot.gay>
Diffstat (limited to 'hyprpm/src/core/PluginManager.hpp')
| -rw-r--r-- | hyprpm/src/core/PluginManager.hpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/hyprpm/src/core/PluginManager.hpp b/hyprpm/src/core/PluginManager.hpp index d4603084..7502cc04 100644 --- a/hyprpm/src/core/PluginManager.hpp +++ b/hyprpm/src/core/PluginManager.hpp @@ -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); |
