commit d76eb7bb673d6d940b5f1649933b291a06ef3743
parent c482f901721ed2996c18cae7f23722d05beb61c4
Author: Alex Balgavy <a.balgavy@gmail.com>
Date: Wed, 5 Jun 2019 17:16:05 +0200
newsboat: automatically quit Pocket after adding
Former-commit-id: 49064e33e850c2f228fe97be3d37c4ed11cd8f9f
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/newsboat/config b/newsboat/config
@@ -48,4 +48,4 @@ macro u set browser "urlview"; open-in-browser ; set browser "open '%u'"
macro a set browser "youtube-dl --add-metadata -xic -f bestaudio/best -o \'~/Downloads/songs/listen to/%(title)s-%(id)s.%(ext)s'"; open-in-browser ; set browser "open '%u'"
macro g set browser "youtube-dl --add-metadata -ic"; open-in-browser ; set browser "open '%u'"
macro p set browser "nohup youtube-dl -f 22/17/18 --add-metadata -ic '%u' &"; open-in-browser ; set browser "open '%u'"
-macro s set browser "open -g 'pocket://add?url=%u'"; open-in-browser ; set browser "open '%u'"
+macro s set browser "open -g 'pocket://add?url=%u' && sleep 3 && killall Pocket"; open-in-browser ; set browser "open '%u'"