notifs: Implement notification dimissing (#4790)

This commit is contained in:
ItsDrike
2024-03-02 19:12:31 +01:00
committed by GitHub
parent 8811f4b69a
commit be89d6faa9
4 changed files with 37 additions and 0 deletions

View File

@@ -41,6 +41,7 @@ class CHyprNotificationOverlay {
void draw(CMonitor* pMonitor);
void addNotification(const std::string& text, const CColor& color, const float timeMs, const eIcons icon = ICON_NONE);
void dismissNotifications(const int amount);
bool hasAny();
private: