From c0035725ceb07e249f540f58fbb8024542759ecc Mon Sep 17 00:00:00 2001 From: Thomas Dehaeze Date: Tue, 26 May 2020 08:38:11 +0200 Subject: [PATCH] Reworks newsboat macros --- dotfiles/newsboat.org | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/dotfiles/newsboat.org b/dotfiles/newsboat.org index 234c476..b4a848b 100644 --- a/dotfiles/newsboat.org +++ b/dotfiles/newsboat.org @@ -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