diff -u old/src/trayicon.cpp new/src/trayicon.cpp
--- old/src/trayicon.cpp	2020-03-07 20:54:44.707933810 +0100
+++ new/src/trayicon.cpp	2020-03-07 21:06:52.883917964 +0100
@@ -28,6 +28,11 @@

 #include "akregator_debug.h"
 #include <KLocalizedString>
+#include <KIconLoader>
+#include <KColorScheme>
+
+#include <QPainter>
+#include <QFontDatabase>
 
 using namespace Akregator;
 
@@ -44,11 +48,12 @@
 }
 
 TrayIcon::TrayIcon(QObject *parent)
-    : KStatusNotifierItem(parent)
+    : KStatusNotifierItem(parent),
+    m_defaultIcon(QIcon::fromTheme(QStringLiteral("akregator")))
 {
     setToolTipTitle(i18n("Akregator"));
     setToolTipIconByName(i18n("Akregator"));
-    setIconByName(QStringLiteral("akregator"));
+    setIconByName(m_defaultIcon.name());
 }
 
 TrayIcon::~TrayIcon()
@@ -60,8 +65,61 @@
     if (m_unread != unread) {
         m_unread = unread;
 
-        setToolTip(QStringLiteral("akregator"), i18n("Akregator"), unread == 0 ? i18n("There are no unread articles") : i18np("1 unread article", "%1 unread articles", unread));
+        setToolTip(m_defaultIcon.name(), i18n("Akregator"), unread == 0 ? i18n("There are no unread articles") : i18np("1 unread article", "%1 unread articles", unread));
         setStatus(unread > 0 ? KStatusNotifierItem::Active : KStatusNotifierItem::Passive);
+	
+	// Added by plague as a revert of 1391353529419647b2b40d0ac758a2bd9075eb1a
+	if (unread <= 0) {
+		setIconByName(m_defaultIcon.name());
+		return;
+	}
+	// adapted from KMSystemTray::updateCount()
+	int oldWidth = KIconLoader::SizeSmallMedium;
+
+	QString countStr = QString::number(unread);
+	QFont f = QFontDatabase::systemFont(QFontDatabase::GeneralFont);
+	f.setBold(true);
+
+	float pointSize = f.pointSizeF();
+	QFontMetrics fm(f);
+	int w = fm.horizontalAdvance(countStr);
+	if (w > (oldWidth - 2)) {
+		pointSize *= float(oldWidth - 2) / float(w);
+		f.setPointSizeF(pointSize);
+	}
+
+	// overlay
+	QPixmap overlayImg(oldWidth, oldWidth);
+	overlayImg.fill(Qt::transparent);
+
+	QPainter p(&overlayImg);
+	p.setFont(f);
+	KColorScheme scheme(QPalette::Active, KColorScheme::View);
+
+	fm = QFontMetrics(f);
+	QRect boundingRect = fm.tightBoundingRect(countStr);
+	boundingRect.adjust(0, 0, 0, 2);
+	boundingRect.setHeight(qMin(boundingRect.height(), oldWidth));
+	boundingRect.moveTo((oldWidth - boundingRect.width()) / 2,
+						((oldWidth - boundingRect.height()) / 2) - 1);
+	p.setOpacity(0.7);
+	p.setBrush(scheme.background(KColorScheme::NormalBackground));
+	p.setPen(scheme.background(KColorScheme::NormalBackground).color());
+	p.drawRoundedRect(boundingRect, 2.0, 2.0);
+
+	p.setBrush(Qt::NoBrush);
+	p.setPen(scheme.foreground(KColorScheme::NormalText).color());
+	p.setOpacity(1.0);
+	p.drawText(overlayImg.rect(), Qt::AlignCenter, countStr);
+	p.end();
+
+	QPixmap iconPixmap = m_defaultIcon.pixmap(oldWidth, oldWidth);
+
+	QPainter pp(&iconPixmap);
+	pp.drawPixmap(0, 0, overlayImg);
+	pp.end();
+
+	setIconByPixmap(iconPixmap);
     }
 }
 
diff -u old/src/trayicon.h new/src/trayicon.h
--- old/src/trayicon.h	2020-03-07 20:54:44.711933810 +0100
+++ new/src/trayicon.h	2020-03-07 20:56:45.331931185 +0100
@@ -27,6 +27,7 @@
 
 #include "akregator_export.h"
 
+#include <QIcon>
 #include <KStatusNotifierItem>
 namespace Akregator {
 class AKREGATOR_EXPORT TrayIcon : public KStatusNotifierItem
@@ -45,6 +46,7 @@
 
 private:
     static TrayIcon *m_instance;
+    QIcon m_defaultIcon;
     int m_unread = 0;
 };
 } // namespace Akregator

diff -u old/CMakeLists.txt new/CMakeLists.txt
--- old/CMakeLists.txt	2020-07-07 03:07:47.000000000 +0200
+++ new/CMakeLists.txt	2020-09-01 23:50:37.751944390 +0200
@@ -63,6 +63,7 @@
 find_package(KF5Parts ${KF5_MIN_VERSION} CONFIG REQUIRED)
 find_package(KF5TextEditor ${KF5_MIN_VERSION} CONFIG REQUIRED)
 find_package(KF5XmlGui ${KF5_MIN_VERSION} CONFIG REQUIRED)
+find_package(KF5IconThemes ${KF5_MIN_VERSION} CONFIG REQUIRED)
 find_package(KF5Notifications ${KF5_MIN_VERSION} CONFIG REQUIRED)
 find_package(KF5Syndication ${KF5_MIN_VERSION} CONFIG REQUIRED)

diff -u old/src/CMakeLists.txt new/src/CMakeLists.txt
--- old/src/CMakeLists.txt	2020-07-06 13:51:25.000000000 +0200
+++ new/src/CMakeLists.txt	2020-09-01 23:56:56.287931426 +0200
@@ -128,6 +128,7 @@
     KF5::Syndication
     akregatorinterfaces
     KF5::PimCommon
+    KF5::IconThemes
     KF5::PimTextEdit
     KF5::GrantleeTheme
     Grantlee5::Templates
@@ -223,6 +224,7 @@
     KF5::PimTextEdit
     KF5::GrantleeTheme
     KF5::MessageViewer
+    KF5::IconThemes
     KF5::Parts
     KF5::Notifications
     Qt5::WebEngineWidgets
