notifs: use empty color for auto

This commit is contained in:
vaxerski
2023-03-20 15:32:11 +00:00
parent 34da16b7e6
commit 316674fecf
3 changed files with 3 additions and 3 deletions

View File

@@ -40,7 +40,7 @@ void CHyprNotificationOverlay::addNotification(const std::string& text, const CC
const auto PNOTIF = m_dNotifications.emplace_back(std::make_unique<SNotification>()).get();
PNOTIF->text = text;
PNOTIF->color = color;
PNOTIF->color = color == CColor(0) ? ICONS_COLORS[icon] : color;
PNOTIF->started.reset();
PNOTIF->timeMs = timeMs;
PNOTIF->icon = icon;