nix/home/newsboat/default.nix

24 lines
524 B
Nix
Raw Normal View History

2024-08-11 15:20:09 +02:00
{ ... }:
{
programs.newsboat = {
2024-08-11 16:15:53 +02:00
enable = true;
browser = "firefox";
urls = [
2024-08-11 17:10:43 +02:00
{
url = "https://www.youtube.com/feeds/videos.xml?channel_id=UC2eYFnH61tmytImy1mTYvhA";
}
2024-08-11 16:15:53 +02:00
];
2024-08-11 17:44:22 +02:00
extraConfig = ''
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 y set browser "mpv %u" ; open-in-browser ; set browser "elinks %u"
'';
2024-08-11 15:20:42 +02:00
};
2024-08-11 15:20:09 +02:00
}