# unbind keys
unbind-key ENTER
unbind-key j
unbind-key k
unbind-key J
unbind-key K

# bind keys - vim style
bind-key j down
bind-key k up
bind-key l open
bind-key h quit


bind-key g home
bind-key G end
bind-key a toggle-article-read
auto-reload yes
reload-threads 50
confirm-mark-feed-read yes
prepopulate-query-feeds yes

browser "dmenu-link-handler $U"

urls-source "miniflux"
miniflux-url "https://feed.cronyakatsuki.xyz/"
miniflux-login "crony"
miniflux-passwordeval "news-pass"
miniflux-min-items 0

download-path "~/downs"
max-downloads 2
player "mpv"

# Catppuccin colors
color listnormal         color15 default
color listnormal_unread  color2  default
color listfocus_unread   color2  color0
color listfocus          default color0
color background         default default
color article            default default
color end-of-text-marker color8  default
color info               color4  color8
color hint-separator     default color8
color hint-description   default color8
color title              color14 color8

highlight article "^(Feed|Title|Author|Link|Date): .+" color4 default bold
highlight article "^(Feed|Title|Author|Link|Date):" color14 default bold

highlight article "\\((link|image|video)\\)" color8 default
highlight article "https?://[^ ]+" color4 default
highlight article "\[[0-9]+\]" color6 default bold