You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
278 B
12 lines
278 B
#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());
|
|
}
|
|
}
|