include ~/.newsboat/colorschemes/dracula
browser "firefox %u"
run-on-startup goto-title "Unread Articles" ; open
auto-reload yes
reload-time 15 
prepopulate-query-feeds yes
feed-sort-order unreadarticlecount-asc
show-read-articles no
show-read-feeds no
selecttag-format "  %T (%n)"
feedlist-format "  (%U) %t"
articlelist-format "   %D %6L %?T?|%-17T| ?%t"
urls-source "freshrss"
freshrss-url "https://rss.nvim.pro/api/greader.php"
freshrss-login "buggerman"
freshrss-passwordfile "/home/peter/.secrets/newsboat"
freshrss-flag-star "s"
macro y set browser "mpv %u" ; open-in-browser ; set browser "firefox %u"
# jk - move up/down
unbind-key j
unbind-key k
bind-key j down
bind-key k up

# hl - move in/out of feeds/articles
bind-key h quit
bind-key l open

# q quits the program
unbind-key q
bind-key q hard-quit

# g/G to go to top/bottom
unbind-key g
unbind-key G
bind-key g home
bind-key G end

# f to follow links (like qutebrowser)
unbind-key f
bind-key f goto-url
