diff --git a/src/SharedDefs.hpp b/src/SharedDefs.hpp index 8ae1d0a2..d5daf747 100644 --- a/src/SharedDefs.hpp +++ b/src/SharedDefs.hpp @@ -7,5 +7,6 @@ enum eIcons ICON_HINT, ICON_ERROR, ICON_CONFUSED, + ICON_OK, ICON_NONE }; \ No newline at end of file diff --git a/src/debug/HyprNotificationOverlay.hpp b/src/debug/HyprNotificationOverlay.hpp index fb3414da..462bbde1 100644 --- a/src/debug/HyprNotificationOverlay.hpp +++ b/src/debug/HyprNotificationOverlay.hpp @@ -17,12 +17,16 @@ enum eIconBackend ICONS_BACKEND_FA }; -static const std::array, 3 /* backends */> ICONS_ARRAY = {std::array{"[!]", "[i]", "[Hint]", "[Err]", "[?]", ""}, - std::array{"", "", "", "", "", ""}, - std::array{"", "", "", "", ""}}; -static const std::array ICONS_COLORS = {CColor{255.0 / 255.0, 204 / 255.0, 102 / 255.0, 1.0}, CColor{128 / 255.0, 255 / 255.0, 255 / 255.0, 1.0}, - CColor{179 / 255.0, 255 / 255.0, 204 / 255.0, 1.0}, CColor{255 / 255.0, 77 / 255.0, 77 / 255.0, 1.0}, - CColor{255 / 255.0, 204 / 255.0, 153 / 255.0, 1.0}, CColor{0, 0, 0, 1.0}}; +static const std::array, 3 /* backends */> ICONS_ARRAY = { + std::array{"[!]", "[i]", "[Hint]", "[Err]", "[?]", "[ok]", ""}, std::array{"", "", "", "", "", "󰸞", ""}, + std::array{"", "", "", "", "", ""}}; +static const std::array ICONS_COLORS = {CColor{255.0 / 255.0, 204 / 255.0, 102 / 255.0, 1.0}, + CColor{128 / 255.0, 255 / 255.0, 255 / 255.0, 1.0}, + CColor{179 / 255.0, 255 / 255.0, 204 / 255.0, 1.0}, + CColor{255 / 255.0, 77 / 255.0, 77 / 255.0, 1.0}, + CColor{255 / 255.0, 204 / 255.0, 153 / 255.0, 1.0}, + CColor{128 / 255.0, 255 / 255.0, 128 / 255.0, 1.0}, + CColor{0, 0, 0, 1.0}}; struct SNotification { std::string text = "";