From 55edb68ad1464631085ed9620497f0fa7eb7dd8c Mon Sep 17 00:00:00 2001 From: Ingolf Wagner Date: Sat, 11 Jan 2020 00:47:58 +1300 Subject: [PATCH] wtf: improved news dashboard --- system/desktop/wtf.nix | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/system/desktop/wtf.nix b/system/desktop/wtf.nix index 877b042..2b3280f 100644 --- a/system/desktop/wtf.nix +++ b/system/desktop/wtf.nix @@ -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" ]; };