From 4f0adb2a410d0b0a53b3c68339a70a3b697c0a00 Mon Sep 17 00:00:00 2001 From: Adam Stück Date: Sat, 4 Mar 2023 15:11:39 +0100 Subject: newsboat: add macro to download video --- .config/newsboat/config | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to '.config/newsboat') diff --git a/.config/newsboat/config b/.config/newsboat/config index b4f0c28..2330a1f 100644 --- a/.config/newsboat/config +++ b/.config/newsboat/config @@ -1,5 +1,4 @@ show-read-feeds no -# auto-reload yes reload-threads 20 max-items 10 text-width 74 @@ -31,13 +30,11 @@ color end-of-text-marker color8 default browser "setsid xdg-open %u >/dev/null 2>&1 &" macro v set browser "setsid mpv %u >/dev/null 2>&1 &" ; open-in-browser ; set browser "setsid xdg-open %u >/dev/null 2>&1 &" macro c set browser "echo %u | xclip -r -sel c" ; open-in-browser ; set browser "setsid xdg-open %u >/dev/null 2>&1 &" +macro d set browser "nohup yt-dlp -qi --embed-metadata --restrict-filenames %u &" ; open-in-browser ; set browser "setsid xdg-open %u >/dev/null 2>&1 &" highlight all "---.*---" yellow highlight feedlist ".*(0/0))" black -# highlight article "(^Feed:.*|^Title:.*|^Author:.*)" cyan default bold -# highlight article "(^Link:.*|^Date:.*)" default default highlight article "https?://[^ ]+" green default -# highlight article "^(Title):.*$" blue default highlight article "\\[[0-9][0-9]*\\]" magenta default bold highlight article "\\[image\\ [0-9]+\\]" green default bold highlight article "\\[embedded flash: [0-9][0-9]*\\]" green default bold -- cgit v1.2.3-70-g09d2