Reworks newsboat macros

This commit is contained in:
Thomas Dehaeze 2020-05-26 08:38:11 +02:00
parent 70b698d8d2
commit c0035725ce

View File

@ -152,13 +152,13 @@ https://newsboat.org/releases/2.12/docs/newsboat.html
macro , open-in-browser
# Download Video with Youtube-DL
macro t set browser "~/.local/bin/yt-video %u" ; open-in-browser ; set browser linkhandler
macro v set browser "cd ~/Documents/to-watch && ~/.local/bin/yt-video %u" ; open-in-browser ; set browser linkhandler
# Download Audio with Youtube-DL
macro a set browser "~/.local/bin/yt-audio %u" ; open-in-browser ; set browser linkhandler
macro a set browser "cd ~/Documents/to-watch && ~/.local/bin/yt-audio %u" ; open-in-browser ; set browser linkhandler
# Open Video with MPV
macro v set browser "setsid nohup mpv %u &> /dev/null &" ; open-in-browser ; set browser linkhandler
macro m set browser "setsid nohup mpv %u &> /dev/null &" ; open-in-browser ; set browser linkhandler
# Open With W3M
macro w set browser "w3m %u" ; open-in-browser ; set browser linkhandler
@ -302,6 +302,8 @@ https://newsboat.org/releases/2.12/docs/newsboat.html
http://xkcd.com/rss.xml "~RSS XKCD" random
https://blog.jethro.dev/index.xml "~RSS Jethro Kuan" emacs
https://lord.re/posts/index.xml "~RSS Lord~" linux
https://rgoswami.me/posts/index.xml "~RSS Rohit Goswami~" linux emacs
# https://jonathanh.co.uk/
#+end_src
** Youtube