Add bookmarks to buku from newsboat

This commit is contained in:
Thomas Dehaeze 2020-04-05 11:22:20 +02:00
parent 354ab6e8b0
commit 81e512992f

View File

@ -57,9 +57,6 @@ https://newsboat.org/releases/2.12/docs/newsboat.html
# If set to no, then the keymap hints on the bottom of screen will not be displayed. # If set to no, then the keymap hints on the bottom of screen will not be displayed.
show-keymap-hint no show-keymap-hint no
feed-sort-order unreadarticlecount
article-sort-order date
player "mpv" player "mpv"
#+END_SRC #+END_SRC
@ -69,7 +66,7 @@ https://newsboat.org/releases/2.12/docs/newsboat.html
#+end_src #+end_src
** Filters ** Filters
#+begin_src conf #+begin_src conf :tangle no
define-filter "Unread Articles" "unread = \"yes\"" define-filter "Unread Articles" "unread = \"yes\""
#+end_src #+end_src
@ -101,8 +98,8 @@ https://newsboat.org/releases/2.12/docs/newsboat.html
bind-key K prev-feed articlelist bind-key K prev-feed articlelist
bind-key G end bind-key G end
bind-key g home bind-key g home
bind-key d pagedown bind-key ^D pagedown
bind-key u pageup bind-key ^U pageup
bind-key q toggle-show-read-feeds bind-key q toggle-show-read-feeds
bind-key Q quit bind-key Q quit
@ -126,6 +123,26 @@ https://newsboat.org/releases/2.12/docs/newsboat.html
bind-key R reload-all # Reload all feeds bind-key R reload-all # Reload all feeds
#+END_SRC #+END_SRC
** Bookmarking
#+begin_src conf
bookmark-autopilot no
bookmark-cmd "~/.config/newsboat/scripts/buku-add.sh"
bookmark-interactive no
#+end_src
*** Buku Scripts
:PROPERTIES:
:header-args: :tangle ~/.config/newsboat/scripts/buku-add.sh
:header-args+: :comments both :mkdirp yes
:header-args+: :shebang "#!/usr/bin/env bash"
:END:
#+begin_src bash
buku --add "$1" --title "$2" --comment "$3" && \
dunstify "Buku" "Bookmark Added" && \
exit 0
#+end_src
** Macros - Starts with , key ** Macros - Starts with , key
#+BEGIN_SRC conf #+BEGIN_SRC conf
# Default Browser # Default Browser
@ -154,7 +171,7 @@ https://newsboat.org/releases/2.12/docs/newsboat.html
#+END_SRC #+END_SRC
** hide articles matching ** hide articles matching
#+BEGIN_SRC conf #+BEGIN_SRC conf :tangle no
ignore-article "*" "title =~ \"Sponsor\"" ignore-article "*" "title =~ \"Sponsor\""
ignore-article "*" "title =~ \"Advertisement\"" ignore-article "*" "title =~ \"Advertisement\""
ignore-mode "display" ignore-mode "display"
@ -215,7 +232,7 @@ https://newsboat.org/releases/2.12/docs/newsboat.html
:END: :END:
** Queries ** Queries
#+begin_src conf #+begin_src conf :tangle no
"query:Unread:unread = \"yes\"" "query:Unread:unread = \"yes\""
"query:Unwatch - Youtube:unread = \"yes\" and tags # \"youtube\"" "query:Unwatch - Youtube:unread = \"yes\" and tags # \"youtube\""
"query:Unread - Linux:unread = \"yes\" and tags # \"linux\"" "query:Unread - Linux:unread = \"yes\" and tags # \"linux\""
@ -223,38 +240,63 @@ https://newsboat.org/releases/2.12/docs/newsboat.html
"query:Unread - Sciences:unread = \"yes\" and tags # \"science\"" "query:Unread - Sciences:unread = \"yes\" and tags # \"science\""
#+end_src #+end_src
** NEWSFEEDS ** Newsfeeds
*** Linux
#+begin_src conf #+begin_src conf
https://itsfoss.com/feed/ "~NEWSFEED: It's Foss" linux https://undocumentedmatlab.com/feed/ "~RSS undocumentedmatlab" matlab
https://lukesmith.xyz/rss.xml "~NEWSFEED: Lukesmith" linux http://blogs.mathworks.com/seth/feed/ "~RSS Guy on Simulink" matlab control
http://blogs.mathworks.com/loren/?feed=rss2 "~RSS Loren on the Art of MATLAB" matlab
https://lord.re/index.xml "~NEWSFEED: /home/lord" linux http://blogs.mathworks.com/pick/feed/ "~RSS File Exchange Pick of the Week" matlab
http://feeds.cyberciti.biz/Nixcraft-LinuxFreebsdSolarisTipsTricks "~NEWSFEED: nixCraft" linux https://enriquedelsol.com/feed/ "~RSS Enrique del Sol" control
http://frederic.bezies.free.fr/blog/?feed=rss2 "~NEWSFEED: Le Weblog de Frederic Bezies" linux http://brettbeauregard.com/blog/feed/ "~RSS Project Blog" control
https://addy-dclxvi.github.io/index.xml "~NEWSFEED: Addy's Blog" linux http://jipihorn.wordpress.com/feed/ "~RSS Jipihorn's Blog" electronics audio
http://feeds.feedburner.com/linoxideblog "~NEWSFEED: LinOxide" linux http://sciencetonnante.wordpress.com/feed/ "~RSS Science étonnante" science
#+end_src https://yiufung.net/index.xml "~RSS yiufung" emacs
https://bzg.fr/index.xml "~RSS bzg" emacs
*** Emacs https://thomashartmann.dev/rss.xml "~RSS thomashartmann.dev" emacs linux
#+begin_src conf http://cachestocaches.com/feed/ "~RSS CachesToCaches" emacs
http://sachachua.com/blog/feed/ "~NEWSFEED: Sacha Chua" emacs http://frederic.bezies.free.fr/blog/?feed=rss2 "~RSS Le Weblog de Frederic Bezies" linux
https://scripter.co/categories/org/index.xml "~NEWSFEED: Scripter" emacs https://la-bibliotex.fr/feed/ "~RSS La biblioTeX" latex
http://kitchingroup.cheme.cmu.edu/blog/feed "~NEWSFEED: The Kitchin Research Group" emacs https://so.nwalsh.com/feed/ "~RSS so..." emacs
http://irreal.org/blog/?feed=rss2 "~NEWSFEED: Irreal" emacs http://karl-voit.at/feeds/lazyblorg-all.atom_1.0.links-and-content.xml "~RSS Public Voit" emacs
https://emacs.cafe/feed.xml "~NEWSFEED: Emacs café" emacs https://people.umass.edu/weikaichen/index.xml "~RSS Weikai Chen" emacs
http://pragmaticemacs.com/feed/ "~NEWSFEED: Pragmatic Emacs" emacs https://babbagefiles.xyz/index.xml "~RSS The Neo-Babbage Files" linux emacs
https://pinecast.com/feed/emacscast "~NEWSFEED: EmacsCast" emacs https://write.as/dani/feed/ "~RSS Dani" emacs
http://feeds.feedburner.com/CestLaZ "~NEWSFEED: c'est la Z" emacs https://lepisma.xyz/atom.xml "~RSS Lepisma" emacs
https://joshrollinswrites.com/index.xml "~NEWSFEED: The Art of Not Asking Why" emacs http://kitchingroup.cheme.cmu.edu/blog/feed "~RSS The Kitchin Research Group" emacs
http://howardism.org/index.xml "~NEWSFEED: Howardism" emacs http://lukesmith.xyz/rss.xml "~RSS The Latest from Luke" linux
#+end_src http://manuel-uberti.github.io/feed.xml "~RSS Manuel Uberti" emacs
https://lord.re/index.xml "~RSS /home/lord" linux
*** Other http://pragmaticemacs.com/feed/ "~RSS Pragmatic Emacs" emacs
#+begin_src conf https://mburkeonmbd.com/feed/ "~RSS Model-Based Design" control matlab
http://xkcd.com/rss.xml "~NEWSFEED: XKCD" random https://jonathanabennett.github.io/rss.xml "~RSS Jonathan Bennett's Blog" emacs
https://undocumentedmatlab.com/feed/ "~NEWSFEED: undocumentedmatlab" matlab https://joshrollinswrites.com/index.xml "~RSS The Art of Not Asking Why" emacs linux
http://feeds.feedburner.com/mathworks/pick?format=xml "~NEWSFEED: Matlab Pick of the Week" matlab http://endlessparentheses.com/atom.xml "~RSS Endless Parentheses" emacs
https://www.gonsie.com/blorg/feed.xml "~RSS Elsa Gonsiorowski" emacs
http://tiagoweber.github.io/blog.xml "~RSS Tiago Oliveira Weber" matlab emacs science
https://shreyas.ragavan.co/index.xml "~RSS Shreyas Ragavan" emacs
https://pinecast.com/feed/emacscast "~RSS EmacsCast" emacs
http://amitp.blogspot.com/feeds/posts/default "~RSS Amit's Thoughts" emacs
http://sachachua.com/wp/category/emacs/feed/ "~RSS Sacha Chua" emacs
https://cestlaz.github.io/rss.xml "~RSS C'est la Z" emacs
https://www-public.imtbs-tsp.eu/~berger_o/weblog/tag/org-mode/feed/ "~RSS WebLog Pro Olivier Berger" emacs
https://scripter.co/index.xml "~RSS A Scripter's Notes" linux emacs
https://assortedarray.com/index.xml "~RSS Assorted Array" emacs
https://www.with-emacs.com/rss.xml "~RSS with-emacs" emacs
https://linktohack.com/index.xml "~RSS QL's blog" emacs
https://itsfoss.com/feed "~RSS It's FOSS" linux
https://llazarek.com/feeds/all.rss.xml "~RSS llazarek" emacs
https://200ok.ch/atom.xml "~RSS 200ok" emacs
http://irreal.org/blog/?feed=rss2 "~RSS Irreal" emacs
https://emacs.cafe/feed.xml "~RSS Emacs café" emacs
http://vxlabs.com/feed/ "~RSS vxlabs" emacs linux
https://www.rousette.org.uk/index.xml "~RSS But she's a Girl..." emacs
https://brushingupscience.com/feed/ "~RSS Brushing Up Science" science
https://www.anand-iyer.com/feed.xml "~RSS Anand Iyer" emacs
https://addy-dclxvi.github.io/index.xml "~RSS Addy's Blog" linux
https://ekaschalk.github.io/index.xml "~RSS Modern Emacs" emacs
http://howardism.org/index.xml "~RSS Howardism" emacs
http://xkcd.com/rss.xml "~RSS XKCD" random
https://quantasylum.com/blogs/news.atom "~RSS QuantAsylum" audio
#+end_src #+end_src
** Youtube ** Youtube
@ -399,4 +441,8 @@ https://newsboat.org/releases/2.12/docs/newsboat.html
https://www.youtube.com/feeds/videos.xml?channel_id=UCWty1tzwZW_ZNSp5GVGteaA "~YT La statistique expliquée à mon chat" youtube interesting https://www.youtube.com/feeds/videos.xml?channel_id=UCWty1tzwZW_ZNSp5GVGteaA "~YT La statistique expliquée à mon chat" youtube interesting
https://www.youtube.com/feeds/videos.xml?channel_id=UCLbgxBMMEo6mAYe87esxGmg "~YT horror humanum est" youtube interesting https://www.youtube.com/feeds/videos.xml?channel_id=UCLbgxBMMEo6mAYe87esxGmg "~YT horror humanum est" youtube interesting
https://www.youtube.com/feeds/videos.xml?channel_id=UCOuIgj0CYCXCvjWywjDbauw "~YT Chat Sceptique" youtube interesting https://www.youtube.com/feeds/videos.xml?channel_id=UCOuIgj0CYCXCvjWywjDbauw "~YT Chat Sceptique" youtube interesting
https://www.youtube.com/feeds/videos.xml?channel_id=UCOuow_HIYmeaIqi42zVs3qg "~YT Kirby Meets Audio" youtube audio
https://www.youtube.com/feeds/videos.xml?channel_id=UC6mIxFTvXkWQVEHPsEdflzQ "~YT GreatScott" youtube diy
https://www.youtube.com/feeds/videos.xml?channel_id=UCWOhWAOydPUqillkpt5UlaA "~YT Dakoustics" youtube audio
https://www.youtube.com/feeds/videos.xml?channel_id=UC9_nxvBohH1G2yR77XTdA2g "~YT Tommy Desrochers" youtube 3d-printing diy
#+end_src #+end_src