sisyphus/config/_archive/newsboat/config

49 lines
1 KiB
Text

#
# ~/.config/newsboat/config
#
auto-reload yes
reload-time 60
browser xdg-open
# =======
# Syncing
# =======
urls-source "freshrss"
freshrss-url "https://rss.depeuter.tk/api/greader.php"
freshrss-login "tdpeuter"
freshrss-password "ibSp#n!UF265vwAdFP"
# ======
# Macros
# ======
macro v set browser "setsid --fork $SHELL -c \"yt-dlp -qo - %u | mpv -\" &> /dev/null" ; open-in-browser-and-mark-read ; set browser xdg-open
macro a set browser "setsid --fork $SHELL -c \"yt-dlp -qo - %u | mpv --no-video -\"" ; open-in-browser-and-mark-read ; set browser xdg-open
# =================
# Vim-like keybinds
# =================
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 h quit
bind-key G end
bind-key g home
bind-key u pageup
bind-key d pagedown
bind-key l open
# =======
# Styling
# =======
# Custom styling of subheadings
highlight feedlist "---.*---" color156 default bold
highlight feedlist ".*0/0.." default default invis