feat: change cpu & memory polling intervals
This commit is contained in:
parent
b9a271e086
commit
0e7d2f8b94
1 changed files with 3 additions and 1 deletions
|
@ -3,7 +3,7 @@
|
||||||
pkgs,
|
pkgs,
|
||||||
lib,
|
lib,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
compileSCSS = name: source: "${pkgs.runCommandLocal name {} ''
|
compileSCSS = name: source: "${pkgs.runCommandLocal name {} ''
|
||||||
mkdir -p $out
|
mkdir -p $out
|
||||||
|
@ -66,9 +66,11 @@
|
||||||
"cpu" = {
|
"cpu" = {
|
||||||
format = "{usage}% ";
|
format = "{usage}% ";
|
||||||
tooltip = "false";
|
tooltip = "false";
|
||||||
|
interval = "2";
|
||||||
};
|
};
|
||||||
"memory" = {
|
"memory" = {
|
||||||
format = "{}% ";
|
format = "{}% ";
|
||||||
|
interval = "15";
|
||||||
};
|
};
|
||||||
"clock" = {
|
"clock" = {
|
||||||
tooltip-format = "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>";
|
tooltip-format = "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>";
|
||||||
|
|
Loading…
Reference in a new issue