diff options
author | dec05eba <dec05eba@protonmail.com> | 2024-06-09 17:35:59 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2024-06-09 17:35:59 +0200 |
commit | 41aebc819982b48655bea0b299fa95ae9006e6d9 (patch) | |
tree | 225427123c9e3b00b68aeff4f2cb2ff00990d0d7 | |
parent | 7576027b226c38bf5c604a87672024f02272a16a (diff) |
Set notify urgency to low
-rw-r--r-- | src/html.c | 2 | ||||
-rw-r--r-- | src/main.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -426,7 +426,7 @@ static int download_html_items_in_reverse(const char *plugin_filepath, Buffer *d if(result != 0) fprintf(stderr, "Failed while downloading html, url: %s\n", download_items_it->link); - const char *notify_args[] = { "notify-send", "-a", "automedia", "-u", result == 0 ? "normal" : "critical", "-t", "3000", "--", result == 0 ? "Download finished" : "Download failed", notify_msg, NULL }; + const char *notify_args[] = { "notify-send", "-a", "automedia", "-u", result == 0 ? "low" : "critical", "-t", "3000", "--", result == 0 ? "Download finished" : "Download failed", notify_msg, NULL }; program_exec(notify_args, NULL, NULL); if(result != 0) @@ -511,7 +511,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", "-a", "automedia", "-t", "3000", "--", "Download finished", name, NULL }; + const char *notify_args[] = { "notify-send", "-u", "low", "-a", "automedia", "-t", "3000", "--", "Download finished", name, NULL }; program_exec(notify_args, NULL, NULL); char item_path[PATH_MAX]; |