Notifications: removed hard limit to 100 characters.

This commit is contained in:
LemmyCook
2025-09-21 10:56:27 -04:00
parent fbd431164b
commit 794853b7bd
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ echo "Sending test notifications..."
# Send a bunch of notifications with numbers
for i in {1..4}; do
notify-send "Notification $i" "This is test notification number $i with a very long text that will probably break the layout or maybe not? Who knows?"
notify-send "Notification $i" "This is test notification number $i with a very long text that will probably break the layout or maybe not? Who knows? Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."
sleep 1
done
+2 -2
View File
@@ -113,8 +113,8 @@ Singleton {
return {
"id": id,
"summary": (n.summary || "").substring(0, 100),
"body": stripTags(n.body || "").substring(0, 100),
"summary": (n.summary || ""),
"body": stripTags(n.body || ""),
"appName": getAppName(n.appName),
"urgency": n.urgency || 1,
"timestamp": time,