From 27aefffc8a2d81786b2c402606bc59b53b163341 Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Fri, 10 Jul 2020 00:20:44 +0300 Subject: newsboat bindings --- .config/newsboat/config | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.config/newsboat/config b/.config/newsboat/config index efa6849..9fb8e7e 100644 --- a/.config/newsboat/config +++ b/.config/newsboat/config @@ -1,12 +1,18 @@ # general settings auto-reload yes max-items 100 -browser "/usr/bin/qutebrowser %u" -macro m set browser "/usr/bin/mpv %u"; open-in-browser ; set browser "/usr/bin/firefox %u" -macro l set browser "/usr/bin/firefox %u"; open-in-browser ; set browser "/usr/local/bin/w3m %u" reload-threads 3 text-width 120 +external-url-viewer "urlscan -dc -r 'linkhandler {}'" + +# browsing +browser "/usr/bin/firefox %u" +macro m set browser "/usr/bin/mpv %u"; open-in-browser ; set browser "/usr/bin/firefox %u" +macro l set browser "/usr/bin/lynx %u"; open-in-browser ; set browser "/usr/bin/firefox %u" +macro c set browser "xsel -b <<<" ; open-in-browser ; set browser "/usr/bin/firefox %u" +macro x set browser "/home/yigit/bin/linkhandler"; open-in-browser ; set browser "/usr/bin/firefox %u" + # unbind keys unbind-key ENTER unbind-key j -- cgit v1.2.3-70-g09d2