aboutsummaryrefslogtreecommitdiff
path: root/include/Notification.hpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2020-05-31 18:03:57 +0200
committerdec05eba <dec05eba@protonmail.com>2020-05-31 18:05:01 +0200
commit34fef69fd468f695b3b5817da6a9980ac7b5860d (patch)
tree9b0f50279b269e6e1a429bd313d24491ff9cc4e7 /include/Notification.hpp
parent68a2660da9ea4c660feda5d8569a8f43108964ec (diff)
Add dmenu option
Diffstat (limited to 'include/Notification.hpp')
-rw-r--r--include/Notification.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/Notification.hpp b/include/Notification.hpp
index 22f2f77..4f7fcc2 100644
--- a/include/Notification.hpp
+++ b/include/Notification.hpp
@@ -27,6 +27,6 @@ namespace QuickMedia {
static void show_notification(const std::string &title, const std::string &description, Urgency urgency = Urgency::NORMAL) {
const char *args[] = { "notify-send", "-u", urgency_string(urgency), "--", title.c_str(), description.c_str(), nullptr };
exec_program_async(args, nullptr);
- printf("Notification: title: %s, description: %s\n", title.c_str(), description.c_str());
+ fprintf(stderr, "Notification: title: %s, description: %s\n", title.c_str(), description.c_str());
}
} \ No newline at end of file