pipeplayer/notify.c

17 lines
323 B
C
Raw Normal View History

2022-08-14 01:38:42 +02:00
#include "notify.h"
#include "config.h"
void
init_notification()
{
notify_init(APP_NAME);
notification = notify_notification_new(SUMMARY, "", NULL);
}
void
notify(const char *string)
{
notify_notification_update(notification, SUMMARY, string, NULL);
notify_notification_show(notification, &notification_error);
}