1
0
mirror of https://github.com/kmein/niveum synced 2026-03-16 10:11:08 +01:00

feat(newsboat): revive

This commit is contained in:
Kierán Meinhardt
2020-04-13 11:55:47 +02:00
parent c90b2259ef
commit 13bb0a7906
2 changed files with 33 additions and 5 deletions

View File

@@ -32,7 +32,7 @@ in
./mpv.nix
./nano.nix
./neovim.nix
# ./newsboat.nix (broken)
./newsboat.nix
./nixpkgs-unstable.nix
./packages
./printing.nix

View File

@@ -1,10 +1,38 @@
{
environment.shellAliases.newsboat = "${pkgs.newsboat}/bin/newsboat -u ~/cloud/syncthing/common/urls";
home-manager.users.me = {
programs.newsboat = {
enable = false;
urls = [
{ url = "https://kmein.github.io/meteora/atom.xml"; tags = [ "poetry" ]; }
];
enable = true;
extraConfig = ''
auto-reload yes
bind-key j down
bind-key k up
bind-key j next articlelist
bind-key k prev articlelist
bind-key J next-feed articlelist
bind-key K prev-feed articlelist
bind-key G end
bind-key g home
bind-key d pagedown
bind-key u pageup
bind-key l open
bind-key h quit
bind-key a toggle-article-read
bind-key n next-unread
bind-key N prev-unread
bind-key D pb-download
bind-key U show-urls
bind-key x pb-delete
color listnormal cyan default
color listfocus black yellow standout bold
color listnormal_unread blue default
color listfocus_unread yellow default bold
color info red black bold
color article cyan default
'';
};
};
}