aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-04-26 19:06:12 +0200
committerdec05eba <dec05eba@protonmail.com>2021-04-26 19:06:12 +0200
commit2ea39b359ac53912c7a1c748e2f04aa1a6336f1f (patch)
tree27d366906d53eb6661b83ab09a4a4a440e809a03 /src/main.c
parent0c49bfeeefc0b63c2a486948460435c66a36faf9 (diff)
misc, dont show notification for too long
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index b210b71..7a1e68e 100644
--- a/src/main.c
+++ b/src/main.c
@@ -481,7 +481,7 @@ static void torrent_list_check_new_downloads_callback(int id, const char *name,
if(is_finished) {
if(id < unfinished_torrents->size && unfinished_torrents->items[id] == 1) {
unfinished_torrents->items[id] = 0;
- const char *notify_args[] = { "notify-send", "-u", "normal", "--", "Download finished", name, NULL };
+ const char *notify_args[] = { "notify-send", "-u", "normal", "-t", "10000", "--", "Download finished", name, NULL };
program_exec(notify_args, NULL, NULL);
}
} else {
@@ -720,7 +720,7 @@ static void command_cleanup(int argc, char **argv, const char *rss_config_dir, c
}
for(;;) {
- fprintf(stderr, "==> Media to stop tracking: (in number range, eg: 10, \"1-3\")\n");
+ fprintf(stderr, "==> Media to stop tracking: (eg: 10, 1-3)\n");
fprintf(stderr, "==> ");
fflush(stderr);