diff --git a/osc.c b/osc.c index a9a83df9..7485cada 100644 --- a/osc.c +++ b/osc.c @@ -790,8 +790,8 @@ kitty_notification(struct terminal *term, char *string) if (done) { notify_notify( term, - notif->title != NULL ? notif->title : "", - notif->body != NULL ? notif->body : "", + notif->title != NULL ? notif->title : notif->body, + notif->title != NULL && notif->body != NULL ? notif->body : "", notif->when, notif->urgency); tll_foreach(term->kitty_notifications, it) {