wtf: improved news dashboard
This commit is contained in:
parent
4efc31f5f7
commit
55edb68ad1
1 changed files with 15 additions and 7 deletions
|
@ -150,7 +150,7 @@ let
|
||||||
wtfModule ({
|
wtfModule ({
|
||||||
type = "feedreader";
|
type = "feedreader";
|
||||||
title = "";
|
title = "";
|
||||||
#refreshInterval = 3600;
|
refreshInterval = 3600;
|
||||||
focusable = true;
|
focusable = true;
|
||||||
#feedLimit = 10;
|
#feedLimit = 10;
|
||||||
colors.rows = {
|
colors.rows = {
|
||||||
|
@ -188,7 +188,7 @@ let
|
||||||
normal = "green";
|
normal = "green";
|
||||||
};
|
};
|
||||||
grid = {
|
grid = {
|
||||||
columns = [ 28 0 ];
|
columns = [ 28 0 0 ];
|
||||||
rows = [ 9 9 9 9 9 9 0 ];
|
rows = [ 9 9 9 9 9 9 0 ];
|
||||||
};
|
};
|
||||||
refreshInterval = 1;
|
refreshInterval = 1;
|
||||||
|
@ -196,10 +196,10 @@ let
|
||||||
|
|
||||||
clock = cmdRunner {
|
clock = cmdRunner {
|
||||||
cmd = pkgs.writers.writeDash "clock" ''
|
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;
|
top = 0;
|
||||||
|
title = "";
|
||||||
left = 0;
|
left = 0;
|
||||||
refreshInterval = 30;
|
refreshInterval = 30;
|
||||||
};
|
};
|
||||||
|
@ -213,12 +213,20 @@ let
|
||||||
title = "Hacker News";
|
title = "Hacker News";
|
||||||
top = 0;
|
top = 0;
|
||||||
left = 1;
|
left = 1;
|
||||||
height = 2;
|
height = 3;
|
||||||
feeds = [ "https://news.ycombinator.com/rss" ];
|
feeds = [ "https://news.ycombinator.com/rss" ];
|
||||||
};
|
};
|
||||||
|
lopster = feedreader {
|
||||||
|
title = "Lopsters";
|
||||||
|
top = 0;
|
||||||
|
left = 2;
|
||||||
|
height = 3;
|
||||||
|
feeds = [ "https://lobste.rs/rss"];
|
||||||
|
};
|
||||||
|
|
||||||
nixos = feedreader {
|
nixos = feedreader {
|
||||||
title = "NixOS Weekly";
|
title = "NixOS Weekly";
|
||||||
top = 2;
|
top = 3;
|
||||||
left = 1;
|
left = 1;
|
||||||
height = 1;
|
height = 1;
|
||||||
feeds = [ "https://weekly.nixos.org/feeds/all.rss.xml" ];
|
feeds = [ "https://weekly.nixos.org/feeds/all.rss.xml" ];
|
||||||
|
@ -226,7 +234,7 @@ let
|
||||||
taskwarrior = feedreader {
|
taskwarrior = feedreader {
|
||||||
title = "Taskwarrior";
|
title = "Taskwarrior";
|
||||||
top = 3;
|
top = 3;
|
||||||
left = 1;
|
left = 2;
|
||||||
height = 1;
|
height = 1;
|
||||||
feeds = [ "https://taskwarrior.org/feed.rss" ];
|
feeds = [ "https://taskwarrior.org/feed.rss" ];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue