diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2023-03-20 15:49:46 +0000 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2023-03-20 15:49:46 +0000 |
| commit | dd4270eadf8a62f4e8f417ff8a78f445745c6096 (patch) | |
| tree | f871dfddc8aac57663e2cb0b442347c4393f2a1e /src/debug | |
| parent | e2923a93854b2891a6538bd6d8eeac2228f64e6b (diff) | |
notifs: add ICON_OK to icons
Diffstat (limited to 'src/debug')
| -rw-r--r-- | src/debug/HyprNotificationOverlay.hpp | 16 |
1 files changed, 10 insertions, 6 deletions
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<std::array<std::string, ICON_NONE + 1>, 3 /* backends */> ICONS_ARRAY = {std::array<std::string, ICON_NONE + 1>{"[!]", "[i]", "[Hint]", "[Err]", "[?]", ""}, - std::array<std::string, ICON_NONE + 1>{"", "", "", "", "", ""}, - std::array<std::string, ICON_NONE + 1>{"", "", "", "", ""}}; -static const std::array<CColor, ICON_NONE + 1> 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<std::array<std::string, ICON_NONE + 1>, 3 /* backends */> ICONS_ARRAY = { + std::array<std::string, ICON_NONE + 1>{"[!]", "[i]", "[Hint]", "[Err]", "[?]", "[ok]", ""}, std::array<std::string, ICON_NONE + 1>{"", "", "", "", "", "", ""}, + std::array<std::string, ICON_NONE + 1>{"", "", "", "", "", ""}}; +static const std::array<CColor, ICON_NONE + 1> 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 = ""; |
