From 2e472450c588f033962aa50f7384677bfe69a48e Mon Sep 17 00:00:00 2001
From: _xB <65196493+xBiei@users.noreply.github.com>
Date: Fri, 13 Jun 2025 23:45:18 +0300
Subject: [PATCH] notifications: support popular chromium-based browsers
---
.../common/widgets/NotificationItem.qml | 20 +++++++++++++------
1 file changed, 14 insertions(+), 6 deletions(-)
diff --git a/.config/quickshell/modules/common/widgets/NotificationItem.qml b/.config/quickshell/modules/common/widgets/NotificationItem.qml
index 47e7cdee2..4622fcde3 100644
--- a/.config/quickshell/modules/common/widgets/NotificationItem.qml
+++ b/.config/quickshell/modules/common/widgets/NotificationItem.qml
@@ -38,11 +38,19 @@ Item { // Notification item area
function processNotificationBody(body, appName) {
let processedBody = body
- // Handle Brave/Chrome notifications - remove first line
- if (appName && appName.toLowerCase().includes('brave')) {
- const lines = body.split('\n\n')
- if (lines.length > 1 && lines[0].startsWith(' lowerApp.includes(name))) {
+ const lines = body.split('\n\n')
+
+ if (lines.length > 1 && lines[0].startsWith('")
}
}
}