From 4c362b4a719d8fa30559e00c945e2f382a40435e Mon Sep 17 00:00:00 2001 From: Henrik Bakken Date: Wed, 25 Mar 2026 15:34:05 +0100 Subject: [PATCH] newsboat -> eilmeldung --- CONFIG/newsboat/config | 98 ------------------------- CONFIG/newsboat/themes/catppuccin.dark | 19 ----- CONFIG/newsboat/themes/catppuccin.latte | 19 ----- endos.py | 10 +-- 4 files changed, 4 insertions(+), 142 deletions(-) delete mode 100644 CONFIG/newsboat/config delete mode 100644 CONFIG/newsboat/themes/catppuccin.dark delete mode 100644 CONFIG/newsboat/themes/catppuccin.latte diff --git a/CONFIG/newsboat/config b/CONFIG/newsboat/config deleted file mode 100644 index c05becb..0000000 --- a/CONFIG/newsboat/config +++ /dev/null @@ -1,98 +0,0 @@ -# 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" diff --git a/CONFIG/newsboat/themes/catppuccin.dark b/CONFIG/newsboat/themes/catppuccin.dark deleted file mode 100644 index c7547fa..0000000 --- a/CONFIG/newsboat/themes/catppuccin.dark +++ /dev/null @@ -1,19 +0,0 @@ -# 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 diff --git a/CONFIG/newsboat/themes/catppuccin.latte b/CONFIG/newsboat/themes/catppuccin.latte deleted file mode 100644 index 4d0fd53..0000000 --- a/CONFIG/newsboat/themes/catppuccin.latte +++ /dev/null @@ -1,19 +0,0 @@ -# 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 diff --git a/endos.py b/endos.py index 3f1cae7..e5e137e 100755 --- a/endos.py +++ b/endos.py @@ -124,12 +124,11 @@ installmap = dict( "khard", # contacts "khal", # calendar "aerc", # email - "newsboat", # rss reader + "eilmeldung", # rss reader "vdirsyncer", # sync calendar+contacts "pandoc", # md2html for aerc - "pass", # password manager for aerc and newsboat - "w3m", # terminal browser for aerc and newsboat - "urlscan", # url finder for newsboat + "pass", # password manager for aerc + "w3m", # terminal browser for aerc "python-aiohttp-oauthlib", # for google vdirsyncer ), monitors=( @@ -358,13 +357,12 @@ def install_monitors(overwrite: bool, reinstall: bool) -> None: def install_emailcalrss(overwrite: bool, reinstall: bool) -> None: helper_install(*installmap["emailcalrss"], reinstall=reinstall) - for tgt in ["vdirsyncer", "khard", "khal", "aerc", "newsboat"]: + for tgt in ["vdirsyncer", "khard", "khal", "aerc"]: helper_clone_foldercontents(CFG_SRC, CFG_TGT, tgt, overwrite) tgt = ".local/share/applications/userapp-khalimport.desktop" helper_maybe_copy(HOME_SRC, HOME_TGT, tgt, overwrite, symlink=True) run("systemctl enable --user --now vdirsyncer.timer".split()) run(f"chmod 600 {CFG_TGT / 'aerc/accounts.conf'}".split()) - (HOME_TGT / ".cache/newsboat").mkdir(exist_ok=True) (HOME_TGT / "Calendars").mkdir(exist_ok=True) (HOME_TGT / "Contacts").mkdir(exist_ok=True)