diff options
author | dec05eba <dec05eba@protonmail.com> | 2021-04-26 19:06:12 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2021-04-26 19:06:12 +0200 |
commit | 2ea39b359ac53912c7a1c748e2f04aa1a6336f1f (patch) | |
tree | 27d366906d53eb6661b83ab09a4a4a440e809a03 /src/main.c | |
parent | 0c49bfeeefc0b63c2a486948460435c66a36faf9 (diff) |
misc, dont show notification for too long
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |