nix/modules/programs/newsboat/default.nix

150 lines
4.4 KiB
Nix
Raw Permalink Normal View History

2024-11-08 18:23:40 +01:00
{domain, ...}: {
2024-10-04 22:32:42 +02:00
programs.newsboat = {
2024-08-31 16:04:57 +02:00
enable = true;
browser = "firefox";
urls = [
2024-09-01 20:34:36 +02:00
{
2024-11-08 18:23:40 +01:00
url = "https://yt.${domain}/feed/channel/UCOSqzSTg4QZXdi7jvV-9rUg";
2024-09-01 20:34:36 +02:00
}
2024-08-31 16:04:57 +02:00
{
2024-11-08 18:23:40 +01:00
url = "https://yt.${domain}/feed/channel/UCg6gPGh8HU2U01vaFCAsvmQ";
2024-08-31 16:04:57 +02:00
}
{
2024-11-08 18:23:40 +01:00
url = "https://yt.${domain}/feed/channel/UCYAg4bYdyqENxEyHUX7t1FA";
2024-08-31 16:04:57 +02:00
}
{
2024-11-08 18:23:40 +01:00
url = "https://yt.${domain}/feed/channel/UCVls1GmFKf6WlTraIb_IaJg";
2024-08-31 16:04:57 +02:00
}
{
2024-11-08 18:23:40 +01:00
url = "https://yt.${domain}/feed/channel/UC5KDiSAFxrDWhmysBcNqtMA";
2024-08-31 16:04:57 +02:00
}
{
2024-11-08 18:23:40 +01:00
url = "https://yt.${domain}/feed/channel/UCcBhwZNKqmPaw3Zk7mh6eBg";
2024-08-31 16:04:57 +02:00
}
{
2024-11-08 18:23:40 +01:00
url = "https://yt.${domain}/feed/channel/UCwnqDLYzLGPbghL9uIOwMnQ";
2024-08-31 16:04:57 +02:00
}
{
2024-11-08 18:23:40 +01:00
url = "https://yt.${domain}/feed/channel/UCRSxdcWjoye7ohD_ibxzYhg";
2024-08-31 16:04:57 +02:00
}
{
2024-11-08 18:23:40 +01:00
url = "https://yt.${domain}/feed/channel/UChIs72whgZI9w6d6FhwGGHA";
2024-08-31 16:04:57 +02:00
}
2024-09-01 20:34:36 +02:00
{
2024-11-08 18:23:40 +01:00
url = "https://yt.${domain}/feed/channel/UCxdZ7XCQVMRMipj3gGemQfw";
2024-09-01 20:34:36 +02:00
}
2024-10-08 16:40:02 +02:00
{
2024-11-08 18:23:40 +01:00
url = "https://yt.${domain}/feed/channel/UC0L2SuL6AK_xtmx82hbqcTw";
2024-10-08 16:40:02 +02:00
}
2024-08-31 16:04:57 +02:00
{
2024-11-08 18:23:40 +01:00
url = "https://yt.${domain}/feed/channel/UCE_K_gW6ReBi4H3Gp0gi-hg";
2024-08-31 16:04:57 +02:00
}
{
2024-11-08 18:23:40 +01:00
url = "https://yt.${domain}/feed/channel/UCWRHrWUsjdF86dt7NKK2Ixw";
2024-08-31 16:04:57 +02:00
}
2024-09-01 20:34:36 +02:00
{
2024-11-08 18:23:40 +01:00
url = "https://yt.${domain}/feed/channel/UCfeNmPbGRF6dkPt04HIl25A";
2024-09-01 20:34:36 +02:00
}
2024-08-31 16:04:57 +02:00
{
2024-11-08 18:23:40 +01:00
url = "https://yt.${domain}/feed/channel/UCFzUEe9XUlkDLp6AmtNzmOA";
2024-08-31 16:04:57 +02:00
}
{
2024-11-08 18:23:40 +01:00
url = "https://yt.${domain}/feed/channel/UCxBfQGaMuiMyw1dgW-tpZbg";
2024-08-31 16:04:57 +02:00
}
{
2024-11-08 18:23:40 +01:00
url = "https://yt.${domain}/feed/channel/UCpes6DXY4XCSA8s9Q1G9ocg";
2024-08-31 16:04:57 +02:00
}
{
2024-11-08 18:23:40 +01:00
url = "https://yt.${domain}/feed/channel/UCR42P1Uub9py2H5RkdcTnWA";
2024-08-31 16:04:57 +02:00
}
{
2024-11-08 18:23:40 +01:00
url = "https://yt.${domain}/feed/channel/UCtwjD3551TskyUxnfaUw7Rg";
2024-08-31 16:04:57 +02:00
}
{
2024-11-08 18:23:40 +01:00
url = "https://yt.${domain}/feed/channel/UCZpKTYOk5WAdCyMal3J1KHg";
2024-08-31 16:04:57 +02:00
}
{
2024-11-08 18:23:40 +01:00
url = "https://yt.${domain}/feed/channel/UCl2mFZoRqjw_ELax4Yisf6w";
2024-08-31 16:04:57 +02:00
}
{
2024-11-08 18:23:40 +01:00
url = "https://yt.${domain}/feed/channel/UC2eYFnH61tmytImy1mTYvhA";
2024-08-31 16:04:57 +02:00
}
{
2024-11-08 18:23:40 +01:00
url = "https://yt.${domain}/feed/channel/UC7YOGHUfC1Tb6E4pudI9STA";
2024-08-31 16:04:57 +02:00
}
{
2024-11-08 18:23:40 +01:00
url = "https://yt.${domain}/feed/channel/UC0sUzmZ0CHvVCVrpRfGKZfw";
2024-08-31 16:04:57 +02:00
}
{
2024-11-08 18:23:40 +01:00
url = "https://yt.${domain}/feed/channel/UCFFfGA991VRR4U8FNNs72Qg";
2024-08-31 16:04:57 +02:00
}
{
2024-11-08 18:23:40 +01:00
url = "https://yt.${domain}/feed/channel/UCIS-e4W5wK2xG6NbI5Tdm_g";
2024-08-31 16:04:57 +02:00
}
{
2024-11-08 18:23:40 +01:00
url = "https://yt.${domain}/feed/channel/UCKmEAsezQ0kUQ6EC-BtBNbg";
2024-08-31 16:04:57 +02:00
}
{
2024-11-08 18:23:40 +01:00
url = "https://yt.${domain}/feed/channel/UCgj6MvuVmp0JVanAZkFQM5A";
2024-08-31 16:04:57 +02:00
}
{
2024-11-08 18:23:40 +01:00
url = "https://yt.${domain}/feed/channel/UCXQZRyhGN-1F8zwD0a8QuWA";
2024-08-31 16:04:57 +02:00
}
{
2024-11-08 18:23:40 +01:00
url = "https://yt.${domain}/feed/channel/UCohllq0Pk5lQuuNANabHKcg";
2024-08-31 16:04:57 +02:00
}
{
2024-11-08 18:23:40 +01:00
url = "https://yt.${domain}/feed/channel/UCUKU3fl8z2rcK7GBdocd7Ww";
2024-08-31 16:04:57 +02:00
}
{
2024-11-08 18:23:40 +01:00
url = "https://yt.${domain}/feed/channel/UCO57urWt8_T63SPFCA_QmNw";
2024-08-31 16:04:57 +02:00
}
2024-10-09 11:31:07 +02:00
{
2024-11-08 18:23:40 +01:00
url = "https://yt.${domain}/feed/channel/UCE972BOwKeCHsgfKV3NxEZA";
2024-10-09 11:31:07 +02:00
}
2024-08-31 16:04:57 +02:00
{
2024-11-08 18:23:40 +01:00
url = "https://yt.${domain}/feed/channel/UCtMVHI3AJD4Qk4hcbZnI9ZQ";
2024-08-31 16:04:57 +02:00
}
{
2024-11-08 18:23:40 +01:00
url = "https://yt.${domain}/feed/channel/UC8ENHE5xdFSwx71u3fDH5Xw";
2024-08-31 16:04:57 +02:00
}
{
2024-11-08 18:23:40 +01:00
url = "https://yt.${domain}/feed/channel/UCMXLdjrQi4JzY0NNvCdUEUQ";
2024-08-31 16:04:57 +02:00
}
{
2024-11-08 18:23:40 +01:00
url = "https://yt.${domain}/feed/channel/UCEKtvLc3EIS0T7shmgPbVrw";
2024-08-31 16:04:57 +02:00
}
{
2024-11-08 18:23:40 +01:00
url = "https://yt.${domain}/feed/channel/UC_zBdZ0_H_jn41FDRG7q4Tw";
2024-08-31 16:04:57 +02:00
}
{
2024-11-08 18:23:40 +01:00
url = "https://yt.${domain}/feed/channel/UChuDUAo3Hfr_0dn54GpwdUQ";
2024-08-31 16:04:57 +02:00
}
{
2024-11-08 18:23:40 +01:00
url = "https://yt.${domain}/feed/channel/UClonyx8pReBvkjropmrS6jQ";
2024-08-31 16:04:57 +02:00
}
];
extraConfig = ''
2024-10-09 19:01:13 +02:00
bind-key j down
bind-key k up
bind-key j next articlelist
bind-key k prev articlelist
bind-key ge end
bind-key gg home
bind-key l open
bind-key h quit
macro o set browser "setsid -f mpv --no-terminal %u &" ; open-in-browser ; set browser "elinks %u"
color background color15 color0
color listnormal color15 color0
color listnormal_unread color15 color0 bold
2024-10-11 14:40:50 +02:00
color listfocus color4 color8
color listfocus_unread color4 color8 bold
2024-10-09 19:01:13 +02:00
color info color15 color8
color article color15 color0
highlight article "https?://[^ ]+" blue default underline
2024-10-09 13:02:52 +02:00
'';
2024-08-31 16:04:57 +02:00
};
}