newsflash: enable podcasts/videos; document

This commit is contained in:
2023-12-13 03:45:07 +00:00
parent fadcf7d7c1
commit 508257da87

View File

@@ -1,10 +1,16 @@
# news-flash RSS viewer # news-flash RSS viewer
# - feeds have to be manually imported:
# - Local RSS -> Import OPML -> ~/.config/newsflashFeeds.opml
# - clicking article-embedded links doesn't work because of xdg portal stuff
# - need to either run unsandboxed, or install a org.freedesktop.portal.OpenURI handler
{ config, sane-lib, ... }: { config, sane-lib, ... }:
let let
feeds = sane-lib.feeds; feeds = sane-lib.feeds;
all-feeds = config.sane.feeds; all-feeds = config.sane.feeds;
wanted-feeds = feeds.filterByFormat ["text" "image"] all-feeds; # text/image: newsflash renders these natively
# podcast/video: newsflash dispatches these to xdg-open
wanted-feeds = feeds.filterByFormat [ "text" "image" "podcast" "video" ] all-feeds;
in { in {
sane.programs.newsflash = { sane.programs.newsflash = {
slowToBuild = true; # mainly for desktop: webkitgtk-6.0 slowToBuild = true; # mainly for desktop: webkitgtk-6.0