commit 4f6f19014c71db80f4a3062765619aecc018a292
parent d7ab4b0dccf0a37dbb91a5b679f8ef95aea82c80
Author: Alex Balgavy <a.balgavy@gmail.com>
Date: Sun, 7 Apr 2019 11:14:26 +0200
Save to pocket macro
Former-commit-id: 640cae9aff91dfef2e09443903dac87474f50b63
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/newsboat/config b/newsboat/config
@@ -39,7 +39,7 @@ color article cyan default
browser "open '%u'"
macro , open-in-browser
-macro i set browser "t(){ clear; youtube-dl --get-title --get-duration --get-description $1 | less;};t"; open-in-browser ; set browser "open '%u'"
+macro i set browser "i(){ clear; youtube-dl --get-title --get-duration --get-description $1 | less;};i"; open-in-browser ; set browser "open '%u'"
macro v set browser "nohup mpv --volume=50 &>/dev/null"; open-in-browser ; set browser "open '%u'"
macro w set browser "w3m"; open-in-browser ; set browser "open '%u'"
macro l set browser "lynx"; open-in-browser ; set browser "open '%u'"
@@ -48,3 +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"; 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 'bestvideo[ext=mp4]' --add-metadata -ic"; open-in-browser ; set browser "open '%u'"
+macro s set browser "open 'pocket://add?url=%u'"; open-in-browser ; set browser "open '%u'"