feat: change cpu & memory polling intervals

This commit is contained in:
notohh 2023-04-09 18:02:05 -04:00
parent b9a271e086
commit 0e7d2f8b94
Signed by: notohh
GPG key ID: BD47506D475EE86D

View file

@ -3,7 +3,7 @@
pkgs,
lib,
...
}:
}:
let
compileSCSS = name: source: "${pkgs.runCommandLocal name {} ''
mkdir -p $out
@ -66,9 +66,11 @@
"cpu" = {
format = "{usage}% ";
tooltip = "false";
interval = "2";
};
"memory" = {
format = "{}% ";
interval = "15";
};
"clock" = {
tooltip-format = "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>";