|
#pragma once
|
|
|
|
//#include <libnotify/notify.h>
|
|
#include <string>
|
|
|
|
const std::string exec = "notify-send";
|
|
namespace util {
|
|
uint notify(std::string summary, std::string body /* */) {
|
|
std::string cmd = exec + " " + summary + " " + body;
|
|
return system(cmd.c_str());
|
|
}
|
|
}
|