commit 108fbc7573ed35116a1d6af6b238251ee1724335
parent 4351a16a551c24a5f83754e34a64ad84153f4203
Author: Alex Balgavy <alex@balgavy.eu>
Date: Thu, 17 Dec 2020 11:18:11 +0100
newsboat: add notification if pocket save fails
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/newsboat/config b/newsboat/config
@@ -59,4 +59,4 @@ macro u set browser "urlview"; open-in-browser ; set browser "linkhandler %u"
macro a set browser "newsboat-dl aonly %u 1>/dev/null 2>&1 & disown"; open-in-browser ; set browser "linkhandler %u"
macro d set browser "newsboat-dl av %u 1>/dev/null 2>&1 & disown"; open-in-browser ; set browser "linkhandler %u"
macro l set browser "notify 'Downloading' %u 'bcdl' && setsid -f bcdl %u >/tmp/bcdl$(date +%s).log 2>&1"; open-in-browser; set browser "linkhandler %u"
-macro s set browser "pocket save %u && notify 'Saved to Pocket' %u 'pocket'"; open-in-browser ; set browser "linkhandler %u"
+macro s set browser "pocket save %u && notify 'Saved to Pocket' %u 'pocket' || notify 'Could not save' %u 'pocket'"; open-in-browser ; set browser "linkhandler %u"