mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-10 04:30:12 +02:00
Reduce the notification expiration time
This commit is contained in:
@@ -432,7 +432,7 @@ bool send_notification(const std::string& title,
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
return bp::system(notify_send_path, "--urgency=normal",
|
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(),
|
formatted_body.str(),
|
||||||
bp::posix::use_vfork) == EXIT_SUCCESS;
|
bp::posix::use_vfork) == EXIT_SUCCESS;
|
||||||
} catch (const boost::process::process_error&) {
|
} catch (const boost::process::process_error&) {
|
||||||
|
|||||||
Reference in New Issue
Block a user