From 0f3730fd976cd1b545a5aa155270ce0ebaa37da2 Mon Sep 17 00:00:00 2001 From: Robbert van der Helm Date: Sat, 3 Jul 2021 17:07:44 +0200 Subject: [PATCH] Reduce the notification expiration time --- src/plugin/utils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugin/utils.cpp b/src/plugin/utils.cpp index 73356fe1..fa180366 100644 --- a/src/plugin/utils.cpp +++ b/src/plugin/utils.cpp @@ -432,7 +432,7 @@ bool send_notification(const std::string& title, try { return bp::system(notify_send_path, "--urgency=normal", - "--expire-time=30000", "--app-name=yabridge", title, + "--expire-time=15000", "--app-name=yabridge", title, formatted_body.str(), bp::posix::use_vfork) == EXIT_SUCCESS; } catch (const boost::process::process_error&) {