wtf: improved news dashboard

This commit is contained in:
Ingolf Wagner 2020-01-11 00:47:58 +13:00
parent 4efc31f5f7
commit 55edb68ad1
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B

View file

@ -150,7 +150,7 @@ let
wtfModule ({
type = "feedreader";
title = "";
#refreshInterval = 3600;
refreshInterval = 3600;
focusable = true;
#feedLimit = 10;
colors.rows = {
@ -188,7 +188,7 @@ let
normal = "green";
};
grid = {
columns = [ 28 0 ];
columns = [ 28 0 0 ];
rows = [ 9 9 9 9 9 9 0 ];
};
refreshInterval = 1;
@ -196,10 +196,10 @@ let
clock = cmdRunner {
cmd = pkgs.writers.writeDash "clock" ''
${pkgs.figlet}/bin/figlet -f smslant `date +%H:%M`
${pkgs.toilet}/bin/toilet --font future `date +"%a %H:%M"`
'';
title = "clock";
top = 0;
title = "";
left = 0;
refreshInterval = 30;
};
@ -213,12 +213,20 @@ let
title = "Hacker News";
top = 0;
left = 1;
height = 2;
height = 3;
feeds = [ "https://news.ycombinator.com/rss" ];
};
lopster = feedreader {
title = "Lopsters";
top = 0;
left = 2;
height = 3;
feeds = [ "https://lobste.rs/rss"];
};
nixos = feedreader {
title = "NixOS Weekly";
top = 2;
top = 3;
left = 1;
height = 1;
feeds = [ "https://weekly.nixos.org/feeds/all.rss.xml" ];
@ -226,7 +234,7 @@ let
taskwarrior = feedreader {
title = "Taskwarrior";
top = 3;
left = 1;
left = 2;
height = 1;
feeds = [ "https://taskwarrior.org/feed.rss" ];
};