summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Vink <>2023-04-17 08:55:32 +0200
committerMike Vink <>2023-04-17 08:55:32 +0200
commitb040b308562e7baeda5d4d829e9dfaa9d234d27c (patch)
tree4841decaba4b0250be45c08819b0eeb15226a10d
parent35aa3ecb6393e15e29b3c0157ff6ddb7dc67c4e5 (diff)
fix newsboat colors
-rw-r--r--home.nix31
1 files changed, 31 insertions, 0 deletions
diff --git a/home.nix b/home.nix
index 0ccd5a0..2adaf8e 100644
--- a/home.nix
+++ b/home.nix
@@ -31,6 +31,37 @@
enable = true;
autoReload = true;
urls = [{url = "https://github.com/rancher/rancher/releases.atom";}];
+ extraConfig = ''
+ # general settings
+ max-items 50
+
+ # 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
+
+ # solarized
+ color background default default
+ color listnormal default default
+ color listnormal_unread default default
+ color listfocus black cyan
+ color listfocus_unread black cyan
+ color info default black
+ color article default default
+
+ # highlights
+ highlight article "^(Title):.*$" blue default
+ highlight article "https?://[^ ]+" red default
+ highlight article "\\[image\\ [0-9]+\\]" green default
+ '';
};
programs.bash = {