diff options
Diffstat (limited to 'ar/.config/newsboat')
| -rw-r--r-- | ar/.config/newsboat/config | 60 | ||||
| -rw-r--r-- | ar/.config/newsboat/urls | 27 |
2 files changed, 87 insertions, 0 deletions
diff --git a/ar/.config/newsboat/config b/ar/.config/newsboat/config new file mode 100644 index 0000000..a718b41 --- /dev/null +++ b/ar/.config/newsboat/config @@ -0,0 +1,60 @@ +# show-read-feeds no +auto-reload yes + +external-url-viewer "urlscan -dc -r 'linkhandler {}'" + +bind-key j down +bind-key k up +bind-key j next articlelist +bind-key k prev articlelist +bind-key J next-feed articlelist +bind-key K prev-feed articlelist +bind-key G end +bind-key g home +bind-key d pagedown +bind-key u pageup +bind-key l open +bind-key h quit +bind-key a toggle-article-read +bind-key n next-unread +bind-key N prev-unread +bind-key D pb-download +bind-key U show-urls +bind-key x pb-delete + +browser linkhandler +macro o open-in-browser ; -- "Open url based on types" +macro a set browser "tsp yt-dlp --embed-metadata -xic -f bestvideo*+bestaudio/best --restrict-filenames" ; open-in-browser ; set browser linkhandler ; -- "Add queue to download a file via yt-dlp" +macro c set browser "clonerepo" ; open-in-browser ; set browser linkhandler ; -- "clone a git repo" +macro d set browser "dmenuhandler" ; open-in-browser ; set browser linkhandler ; -- "dmenu handler" +macro e set browser "nvim ~/.config/newsboat/config" ; open-in-browser ; set browser linkhandler ; -- "newsboat config" +macro l set browser "lynx" ; open-in-browser ; set browser linkhandler ; -- "lynx" +macro m set browser "mpc add $(yt-dlp -f bestaudio --get-url %u | tail -n 1) && mpc play" ; open-in-browser ; -- "Play url" +macro M set browser "qndl -m" ; open-in-browser ; set browser linkhandler ; -- "Download a music file via qndl" +macro t set browser "peertubetorrent %u 480" ; open-in-browser ; set browser linkhandler ; -- "Torrent 480p" +macro T set browser "peertubetorrent %u 1080" ; open-in-browser ; set browser linkhandler ; -- "Torrent 1080p" +macro v set browser "setsid -f mpv" ; open-in-browser ; set browser linkhandler ; -- "Play a video" +macro V set browser "qndl -v" ; open-in-browser ; set browser linkhandler ; -- "Download a video file via qndl" +macro w set browser "firefox" ; open-in-browser ; set browser linkhandler ; -- "Open url in browser" +macro y set browser "echo %u | xclip -r -sel c" ; open-in-browser ; set browser linkhandler ; -- "Copy url to clipboard" +macro Y set browser "youtube-viewer ; --comments=%u" ; open-in-browser ; set browser linkhandler -- "Open youtube comments via youtube-viewer" + +color listnormal cyan default +color listfocus black yellow standout bold +color listnormal_unread blue default +color listfocus_unread yellow default bold +color info red black bold +color article white default bold + +highlight all "---.*---" yellow +highlight feedlist ".*(0/0))" black +highlight article "(^Feed:.*|^Title:.*|^Author:.*)" cyan default bold +highlight article "(^Link:.*|^Date:.*)" default default +highlight article "https?://[^ ]+" green default +highlight article "^(Title):.*$" blue default +highlight article "\\[[0-9][0-9]*\\]" magenta default bold +highlight article "\\[image\\ [0-9]+\\]" green default bold +highlight article "\\[embedded flash: [0-9][0-9]*\\]" green default bold +highlight article ":.*\\(link\\)$" cyan default +highlight article ":.*\\(image\\)$" blue default +highlight article ":.*\\(embedded flash\\)$" magenta default diff --git a/ar/.config/newsboat/urls b/ar/.config/newsboat/urls new file mode 100644 index 0000000..ecb693b --- /dev/null +++ b/ar/.config/newsboat/urls @@ -0,0 +1,27 @@ +"--- TheSiahxyz ---" +https://github.com/TheSiahxyz/.dotfiles/commits/master.atom "Git" "~TheSiahxyz dotfiles" +https://github.com/TheSiahxyz/suckless/commits/master.atom "Git" "~TheSiahxyz suckless" +" " +"--- News ---" +https://artixlinux.org/feed.php "Arch" "Tech" "~Artix Linux Updates" +https://www.archlinux.org/feeds/news/ "Arch" "Tech" "~Arch Linux Updates" +" " +"--- Blog ---" +https://lukesmith.xyz/rss.xml "Blog" "~Luke Smith" +" " +"--- Git ---" +https://github.com/LukeSmithxyz/voidrice/commits/master.atom "Git" "~Luke Smith dotfiles" +https://github.com/LukeSmithxyz/mutt-wizard/commits/master.atom "Git" "~Luke Smith mutt-wizard" +https://github.com/Piotr1215/dotfiles/commits/master.atom "Git" "~Piotr1215 dotfiles" +https://github.com/linkarzu/dotfiles-latest/commits/main.atom "Git" "~Linkarzu dotfiles" +" " +"--- Youtube ---" +https://www.youtube.com/feeds/videos.xml?channel_id=UCevUmOfLTUX9MNGJQKsPdIA "Algorithm" "Neetcode" "Study" "Tech" "Youtube" "~Neetcode" +https://www.youtube.com/feeds/videos.xml?channel_id=UC2eYFnH61tmytImy1mTYvhA "Linux" "Tech" "Youtube" "~Luke Smith" +https://www.youtube.com/feeds/videos.xml?channel_id=UCkWVN7H3JqGtJ5Pv5bvCrAw "Neovim" "Tech" "Youtube" "~Piotr1215" +https://www.youtube.com/feeds/videos.xml?channel_id=UCrSIvbFncPSlK6AdwE2QboA "Neovim" "Tech" "Youtube" "~Linkarzu" +https://www.youtube.com/feeds/videos.xml?channel_id=UCNjdEsQSWDgNcvYueavebFQ "Devices" "Info" "Tech" "~3분테크" +https://www.youtube.com/feeds/videos.xml?channel_id=UCDNvRZRgvkBTUkQzFoT_8rA "Entertainment" "Fun" "Youtube" "~핑계고" +https://www.youtube.com/feeds/videos.xml?channel_id=UCYJ0Ucu9jPX5kn6SeDcNaIQ "Fun" "LOL" "Stream" "Youtube" "~Wolf" +https://www.youtube.com/feeds/videos.xml?channel_id=UCBA9XaL5wCdHnC5EmEzwrqw "Fun" "LOL" "Stream" "Youtube" "SOOP" "~김민교" +https://www.youtube.com/feeds/videos.xml?channel_id=UCkgDHJNdiidw67LAAVooc1A "Fun" "LOL" "Stream" "Youtube" "SOOP" "Full" "~김민교 Full" |
