full refactoring re mothership to endos
This commit is contained in:
@@ -0,0 +1,98 @@
|
||||
# ttrss
|
||||
ttrss-flag-publish "b"
|
||||
ttrss-flag-star "a"
|
||||
ttrss-login "admin"
|
||||
ttrss-mode "multi"
|
||||
ttrss-passwordeval "pass show ttrss"
|
||||
ttrss-url "https://rss.hjarl.com/"
|
||||
urls-source "ttrss"
|
||||
|
||||
# data
|
||||
cache-file "~/.cache/newsboat/cache.db"
|
||||
cookie-cache "~/.cache/newsboat/cookies.txt"
|
||||
|
||||
# feeds
|
||||
auto-reload yes
|
||||
delete-read-articles-on-quit yes
|
||||
feed-sort-order unreadarticlecount-asc
|
||||
prepopulate-query-feeds yes
|
||||
reload-threads 11
|
||||
reload-time 30
|
||||
scrolloff 15
|
||||
|
||||
# display
|
||||
article-sort-order date
|
||||
datetime-format "%D %R"
|
||||
download-full-page yes
|
||||
external-url-viewer "urlscan"
|
||||
html-renderer "w3m -dump -T text/html"
|
||||
show-read-articles no
|
||||
show-read-feeds no
|
||||
text-width 72
|
||||
|
||||
# navigation
|
||||
browser "$BROWSER %u >/dev/null 2>&1 &"
|
||||
#browser "w3m %u"
|
||||
goto-next-feed yes
|
||||
goto-first-unread no
|
||||
mark-as-read-on-hover yes
|
||||
|
||||
# bindings
|
||||
# original bindings here https://raw.githubusercontent.com/newsboat/newsboat/master/src/keymap.cpp
|
||||
# unbind
|
||||
unbind-key f
|
||||
unbind-key F
|
||||
unbind-key C
|
||||
unbind-key n
|
||||
unbind-key p
|
||||
unbind-key ^k
|
||||
unbind-key ,
|
||||
# bind
|
||||
bind SPACE everywhere macro-prefix
|
||||
bind l everywhere open
|
||||
bind h everywhere quit
|
||||
bind j everywhere down
|
||||
bind k everywhere up
|
||||
bind J everywhere next-feed
|
||||
bind K everywhere prev-feed
|
||||
bind J article next
|
||||
bind K article prev
|
||||
bind n everywhere next
|
||||
bind p everywhere prev
|
||||
bind g everywhere home
|
||||
bind G everywhere end
|
||||
bind ^F everywhere halfpagedown
|
||||
bind ^B everywhere halfpageup
|
||||
bind ^D everywhere pagedown
|
||||
bind ^U everywhere pageup
|
||||
bind d everywhere delete-article
|
||||
bind D everywhere delete-all-articles
|
||||
bind $ everywhere purge-deleted
|
||||
bind a everywhere mark-all-above-as-read
|
||||
bind A everywhere mark-feed-read
|
||||
bind ^A everywhere mark-all-feeds-read
|
||||
bind i everywhere sort
|
||||
bind I everywhere rev-sort
|
||||
bind T everywhere set-tag
|
||||
bind t everywhere toggle-article-read
|
||||
bind b everywhere toggle-source-view
|
||||
bind U everywhere toggle-show-read-feeds
|
||||
|
||||
# macros
|
||||
macro w set browser "w3m %u"; open-in-browser ; set browser "$BROWSER %u >/dev/null 2>&1 &"
|
||||
macro l set browser "links %u"; open-in-browser ; set browser "$BROWSER %u >/dev/null 2>&1 &"
|
||||
macro m set browser "mpv %u"; open-in-browser ; set browser "$BROWSER %u >/dev/null 2>&1 &"
|
||||
|
||||
# format
|
||||
feedlist-title-format "(%u unread, %t total) Your feeds%?T? - tag ‘%T’&?"
|
||||
articlelist-title-format "(%u unread, %t total) Articles in feed %T - %U"
|
||||
searchresult-title-format "(%u unread, %t total) Search result"
|
||||
itemview-title-format "(%u unread, %t total) Article %T"
|
||||
filebrowser-title-format "%?O?Open File&Save File? - %f"
|
||||
help-title-format "Help"
|
||||
selecttag-title-format "Select Tag"
|
||||
selectfilter-title-format "Select Filter"
|
||||
urlview-title-format "URLs"
|
||||
dialogs-title-format "Dialogs"
|
||||
|
||||
include "~/.config/newsboat/themes/catppuccin.dark"
|
||||
@@ -0,0 +1,19 @@
|
||||
# https://raw.githubusercontent.com/catppuccin/newsboat/refs/heads/main/themes/dark
|
||||
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
|
||||
@@ -0,0 +1,19 @@
|
||||
# https://raw.githubusercontent.com/catppuccin/newsboat/refs/heads/main/themes/latte
|
||||
color listnormal color15 default
|
||||
color listnormal_unread color2 default
|
||||
color listfocus_unread color2 color15
|
||||
color listfocus default color15
|
||||
color background default default
|
||||
color article default default
|
||||
color end-of-text-marker color8 default
|
||||
color info color4 color7
|
||||
color hint-separator default color7
|
||||
color hint-description default color7
|
||||
color title color14 color7
|
||||
|
||||
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
|
||||
Reference in New Issue
Block a user