summaryrefslogtreecommitdiff
path: root/.config/newsboat/config
diff options
context:
space:
mode:
Diffstat (limited to '.config/newsboat/config')
-rw-r--r--.config/newsboat/config10
1 files changed, 7 insertions, 3 deletions
diff --git a/.config/newsboat/config b/.config/newsboat/config
index 078ce52..63da899 100644
--- a/.config/newsboat/config
+++ b/.config/newsboat/config
@@ -8,6 +8,7 @@ ttrss-mode "multi"
ttrss-login "admin"
ttrss-password "hyperrealtranslinguis@34zaq"
ttrss-url "https://rss.luxagraf.net/"
+save-path ~/notes/saved_articles/
# vim-like navigation
bind-key j down
@@ -16,8 +17,12 @@ bind-key g home
bind-key G end
#macro y set browser "mpv %u" ; open-in-browser ; set browser "browser %u"
-macro y set browser "tsp yt-dlp %u"; open-in-browser ; set browser "$BROWSER %u"
-macro d set browser "yt-dlp %u &"; open-in-browser-noninteractively; set browser $BROWSER
+#macro y set browser "tsp yt-dlp %u"; open-in-browser ; set browser "$BROWSER %u"
+
+# copy url to download video using yt-dlp
+macro y set browser "echo %u | xsel -ib"; open-in-browser ; set browser "$BROWSER %u"
+macro w set browser "open-in-pane %u"; open-in-browser ; set browser "$BROWSER %u"
+macro s set browser "tmux split-window && tmux send-keys 'ranger ~/notes/saved_articles && tmux kill-pane\n'" ; open-in-browser ; set browser "$BROWSER %u"
confirm-mark-all-feeds-read no
confirm-mark-feed-read no
download-full-page yes
@@ -29,7 +34,6 @@ browser "$BROWSER"
#browser "firefox-developer-edition"
bind-key v open-in-browser-and-mark-read
#bind-key o open-in-browser-and-mark-read
-save-path ~/documents/articles
bind-key S save
reload-threads 4