aboutsummaryrefslogtreecommitdiff
path: root/src/Notification.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Notification.cpp')
-rw-r--r--src/Notification.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Notification.cpp b/src/Notification.cpp
index 0507a98..791f4b2 100644
--- a/src/Notification.cpp
+++ b/src/Notification.cpp
@@ -18,8 +18,8 @@ namespace QuickMedia {
}
void show_notification(const std::string &title, const std::string &description, Urgency urgency) {
+ fprintf(stderr, "Notification: title: %s, description: %s\n", title.c_str(), description.c_str());
const char *args[] = { "notify-send", "-t", "10000", "-u", urgency_string(urgency), "--", title.c_str(), description.c_str(), nullptr };
exec_program_async(args, nullptr);
- fprintf(stderr, "Notification: title: %s, description: %s\n", title.c_str(), description.c_str());
}
} \ No newline at end of file