#Settings, my dude... settings!

#inoreder
#inoreader-login "hexdsl@gmail.com"
#inoreader-passwordeval "pass inoreader.com"
#urls-source "inoreader"

# miniflux
#urls-source "miniflux"
#miniflux-url "https://rss.airikr.me"
#miniflux-login "joel"
#miniflux-passwordeval "pass blog/miniflux-rss"
#cookie-cache "~/.config/newsboat/.rss/cookies.txt"

#FreshRSS
urls-source "freshrss"
freshrss-login "dietpi"
freshrss-passwordeval "pass personal/freshrss"
freshrss-url "http://100.114.188.127/freshrss/api/greader.php"

#NextCloud News
#ocnews-url "https://cloud.xpenguin.club"
#ocnews-passwordeval "pass cloud.xpenguin.club"
#ocnews-login "hex"
#urls-source "ocnews"

#Newsblur
#newsblur-login "newsblur.35akg@simplelogin.co"
#newsblur-passwordeval "pass newsblur.com"
#urls-source "newsblur"
#cookie-cache "~/.config/newsboat/.rss/cookies.txt"


#TinyTinyRSS
#urls-source "ttrss"
#ttrss-url "https://rss.hexdsl.co.uk/tt-rss/"
#ttrss-login "hexdsl"
#ttrss-passwordeval "pass rss.hexdsl.co.uk"
#ttrss-flag-publish "p"
#cookie-cache "~/Documents/.rss/cookies.txt"

#auto-reload yes
#reload-time 120
#show-read-articles yes
#show-read-feeds yes
#max-items 4000
#text-width 80
#reload-threads 8
#show-title-bar yes
#confirm-exit yes
#cleanup-on-quit yes
#delete-read-articles-on-quit no
#browser "firefox %u"
#external-url-viewer "urlscan"
#player "mpv"
#download-retries 4
#pager internal
#article-sort-order date-asc
#datetime-format "%y-%m-%d"
#html-renderer "w3m -t text/html"
save-path ~/downloads/news/
cache-file "~/.config/newsboat/.rss/cache.db"

# disable keymap hints on the bottom of screen.
show-keymap-hint yes

notify-always yes
notify-program "notify-send"

# set format string that is used for formatting notifications.
notify-format "%n unread articles"

#keys
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
bind-key r reload
bind-key R reload-all


color background          magenta  default
color listnormal          blue   default
color listnormal_unread   green   default
color listfocus           black magenta
color listfocus_unread    black   magenta
color info                white default
#color article             white default

# Highlight Rules
highlight feedlist "https?://[^ ]+" cyan default
highlight articlelist "[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}" cyan default
highlight article "https?://[^ ]+" cyan default
highlight article "^(Feed|Title|Author|Link|Date):" blue default
ignore-article "*" "title =~ \"Sponsor\""
ignore-article "*" "title =~ \"Sponsored\""
highlight-article "tags =~ \"security\"" red default bold
feedlist-format     "%11u %t"
articlelist-format  "%4i %f %D  %?T?|%-24T|  ?%t"
highlight all "^ *[0-9]*" cyan 
 
#highlight feedlist "(News|news)" yellow 
#highlight feedlist "(Tech|Linux|Distro)" green 
#highlight feedlist "(Gaming|Games)" red
 
#highlight-article "age > 5" magenta yellow
highlight article "^(Feed|Title|Author|Link|Date):.*" blue 
highlight article "(Read more)" red 
highlight article "\\[[0-9][0-9]*\\]" green 
highlight article "\\[image [0-9][0-9]*\\]" yellow 
highlight article ":.*\\(link\\)$" cyan default
highlight article ":.*\\(image\\)$" blue default
highlight article ":.*\\(embedded flash\\)$" magenta default

#Bookmarks and shit
#bind-key i bookmark
#bookmark-cmd ~/.newsboat/bookmark.sh
#bookmark-interactive no
#bookmark-autopilot yes
macro o open-in-browser ; toggle-article-read "read"

#Macros

# vim:ft=config:
