hyprpm: add duplicate header error and log more verbose in install fails

This commit is contained in:
Vaxry
2023-12-13 02:32:57 +00:00
parent d9bc210285
commit 4190b96718
2 changed files with 28 additions and 9 deletions

View File

@@ -9,6 +9,7 @@ enum eHeadersErrors {
HEADERS_MISSING,
HEADERS_CORRUPTED,
HEADERS_MISMATCHED,
HEADERS_DUPLICATED
};
enum eNotifyIcons {
@@ -54,6 +55,9 @@ class CPluginManager {
void notify(const eNotifyIcons icon, uint32_t color, int durationMs, const std::string& message);
bool m_bVerbose = false;
private:
std::string headerError(const eHeadersErrors err);
};
inline std::unique_ptr<CPluginManager> g_pPluginManager;