notification-hub

distraction-free notification daemon for simple linux desktops.
git clone https://git.ce9e.org/notification-hub.git

commit
3d0f83df35f3f102d4157e6ea87b25e15d63b00a
parent
1da11b365ba143a35195def506ebfefc1a971e51
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2024-07-21 07:07
do not clip body

Diffstat

M notification_hub.py 2 +-

1 files changed, 1 insertions, 1 deletions


diff --git a/notification_hub.py b/notification_hub.py

@@ -77,7 +77,7 @@ def on_add_notification(params, id):
   77    77     app_name = params['hints'].get('desktop-entry', params['app_name'])
   78    78     thread = threads.get(app_name)
   79    79     if params['summary'] == app_name:
   80    -1         label = f'{app_name}: {params["body"][:40]}'
   -1    80         label = f'{app_name}: {params["body"]}'
   81    81     else:
   82    82         label = f'{app_name}: {params["summary"]}'
   83    83