Update general settings, add newsboat.
This commit is contained in:
parent
551f6892b5
commit
c57f537d92
@ -24,6 +24,7 @@
|
|||||||
# ./modules/theming.nix Not needed when using plasma
|
# ./modules/theming.nix Not needed when using plasma
|
||||||
./modules/plasma.nix
|
./modules/plasma.nix
|
||||||
./modules/alacritty.nix
|
./modules/alacritty.nix
|
||||||
|
./modules/newsboat.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
||||||
|
53
home-manager/modules/confs/newsboat
Normal file
53
home-manager/modules/confs/newsboat
Normal file
@ -0,0 +1,53 @@
|
|||||||
|
# unbind keys
|
||||||
|
unbind-key ENTER
|
||||||
|
unbind-key j
|
||||||
|
unbind-key k
|
||||||
|
unbind-key J
|
||||||
|
unbind-key K
|
||||||
|
|
||||||
|
# bind keys - vim style
|
||||||
|
bind-key j down
|
||||||
|
bind-key k up
|
||||||
|
bind-key l open
|
||||||
|
bind-key h quit
|
||||||
|
|
||||||
|
|
||||||
|
bind-key g home
|
||||||
|
bind-key G end
|
||||||
|
bind-key a toggle-article-read
|
||||||
|
auto-reload yes
|
||||||
|
reload-threads 50
|
||||||
|
confirm-mark-feed-read yes
|
||||||
|
prepopulate-query-feeds yes
|
||||||
|
|
||||||
|
browser "dmenu-link-handler $U"
|
||||||
|
|
||||||
|
urls-source "miniflux"
|
||||||
|
miniflux-url "https://feed.cronyakatsuki.xyz/"
|
||||||
|
miniflux-login "crony"
|
||||||
|
miniflux-passwordeval "news-pass"
|
||||||
|
miniflux-min-items 0
|
||||||
|
|
||||||
|
download-path "~/downs"
|
||||||
|
max-downloads 2
|
||||||
|
player "mpv"
|
||||||
|
|
||||||
|
# Catppuccin colors
|
||||||
|
color listnormal color15 default
|
||||||
|
color listnormal_unread color2 default
|
||||||
|
color listfocus_unread color2 color0
|
||||||
|
color listfocus default color0
|
||||||
|
color background default default
|
||||||
|
color article default default
|
||||||
|
color end-of-text-marker color8 default
|
||||||
|
color info color4 color8
|
||||||
|
color hint-separator default color8
|
||||||
|
color hint-description default color8
|
||||||
|
color title color14 color8
|
||||||
|
|
||||||
|
highlight article "^(Feed|Title|Author|Link|Date): .+" color4 default bold
|
||||||
|
highlight article "^(Feed|Title|Author|Link|Date):" color14 default bold
|
||||||
|
|
||||||
|
highlight article "\\((link|image|video)\\)" color8 default
|
||||||
|
highlight article "https?://[^ ]+" color4 default
|
||||||
|
highlight article "\[[0-9]+\]" color6 default bold
|
12
home-manager/modules/newsboat.nix
Normal file
12
home-manager/modules/newsboat.nix
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
{ inputs, pkgs, ... }:
|
||||||
|
{
|
||||||
|
# Install alacritty
|
||||||
|
home.packages = [
|
||||||
|
pkgs.newsboat
|
||||||
|
];
|
||||||
|
|
||||||
|
# Setup my config file
|
||||||
|
home.file = {
|
||||||
|
".config/newsboat/config".source = ./confs/newsboat;
|
||||||
|
};
|
||||||
|
}
|
@ -193,6 +193,9 @@
|
|||||||
shell = pkgs.zsh;
|
shell = pkgs.zsh;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Add ~/.local/bin to path
|
||||||
|
environment.localBinInPath = true;
|
||||||
|
|
||||||
# Allow appimages to run manually
|
# Allow appimages to run manually
|
||||||
boot.binfmt.registrations.appimage = {
|
boot.binfmt.registrations.appimage = {
|
||||||
wrapInterpreterInShell = false;
|
wrapInterpreterInShell = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user