aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Notification.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Notification.cpp b/src/Notification.cpp
index 9ffbaac..0507a98 100644
--- a/src/Notification.cpp
+++ b/src/Notification.cpp
@@ -18,7 +18,7 @@ namespace QuickMedia {
}
void show_notification(const std::string &title, const std::string &description, Urgency urgency) {
- const char *args[] = { "notify-send", "-u", urgency_string(urgency), "--", title.c_str(), description.c_str(), nullptr };
+ 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());
}