This commit is contained in:
@@ -1,39 +0,0 @@
|
||||
auto-reload yes
|
||||
reload-threads 100
|
||||
|
||||
# color background color240 black
|
||||
# color listnormal color238 black
|
||||
# color listfocus white black
|
||||
# color listnormal_unread color240 black bold
|
||||
# color listfocus_unread default black bold
|
||||
# color info default black
|
||||
# color article default black
|
||||
|
||||
bind-key h quit articlelist
|
||||
bind-key h quit article
|
||||
bind-key h quit tagselection
|
||||
bind-key h quit feedlist
|
||||
bind-key j down feedlist
|
||||
bind-key j down tagselection
|
||||
bind-key j next articlelist
|
||||
bind-key j down article
|
||||
bind-key J next-feed articlelist
|
||||
bind-key k up feedlist
|
||||
bind-key k prev articlelist
|
||||
bind-key k up tagselection
|
||||
bind-key K prev-feed articlelist
|
||||
bind-key k up article
|
||||
bind-key l open articlelist
|
||||
bind-key l open feedlist
|
||||
bind-key l open tagselection
|
||||
|
||||
bind-key G end
|
||||
bind-key g home
|
||||
|
||||
text-width 80
|
||||
|
||||
browser "brave"
|
||||
macro m set browser "mpv %u"; open-in-browser ; set browser "brave"
|
||||
|
||||
show-title-bar false
|
||||
show-keymap-hint false
|
||||
@@ -46,6 +46,7 @@
|
||||
k8s.k9s.enable = true;
|
||||
keepassxc.enable = true;
|
||||
music.enable = true;
|
||||
newsboat.enable = true;
|
||||
nvim.enable = true;
|
||||
pandoc.enable = true;
|
||||
photography.enable = true;
|
||||
|
||||
@@ -43,6 +43,7 @@
|
||||
k8s.k9s.enable = true;
|
||||
keepassxc.enable = true;
|
||||
music.enable = true;
|
||||
newsboat.enable = true;
|
||||
my.yubikey.enable = true;
|
||||
nfc.enable = true;
|
||||
nvim.enable = true;
|
||||
|
||||
@@ -0,0 +1,58 @@
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
|
||||
let
|
||||
cfg = config.newsboat;
|
||||
in
|
||||
{
|
||||
options.newsboat.enable = lib.mkEnableOption "Newsboat";
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
home.packages = [ pkgs.newsboat ];
|
||||
xdg.configFile."newsboat/config".text = ''
|
||||
auto-reload yes
|
||||
reload-threads 100
|
||||
|
||||
# color background color240 black
|
||||
# color listnormal color238 black
|
||||
# color listfocus white black
|
||||
# color listnormal_unread color240 black bold
|
||||
# color listfocus_unread default black bold
|
||||
# color info default black
|
||||
# color article default black
|
||||
|
||||
bind-key h quit articlelist
|
||||
bind-key h quit article
|
||||
bind-key h quit tagselection
|
||||
bind-key h quit feedlist
|
||||
bind-key j down feedlist
|
||||
bind-key j down tagselection
|
||||
bind-key j next articlelist
|
||||
bind-key j down article
|
||||
bind-key J next-feed articlelist
|
||||
bind-key k up feedlist
|
||||
bind-key k prev articlelist
|
||||
bind-key k up tagselection
|
||||
bind-key K prev-feed articlelist
|
||||
bind-key k up article
|
||||
bind-key l open articlelist
|
||||
bind-key l open feedlist
|
||||
bind-key l open tagselection
|
||||
|
||||
bind-key G end
|
||||
bind-key g home
|
||||
|
||||
text-width 80
|
||||
|
||||
browser "brave"
|
||||
macro m set browser "mpv %u"; open-in-browser ; set browser "brave"
|
||||
|
||||
show-title-bar false
|
||||
show-keymap-hint false
|
||||
'';
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user