From 0e7d2f8b941b1468df7bd8f48655438638fd0d51 Mon Sep 17 00:00:00 2001 From: notohh Date: Sun, 9 Apr 2023 18:02:05 -0400 Subject: [PATCH] feat: change cpu & memory polling intervals --- home/waybar/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/home/waybar/default.nix b/home/waybar/default.nix index 8afb510..385f90e 100644 --- a/home/waybar/default.nix +++ b/home/waybar/default.nix @@ -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 = "{:%Y %B}\n{calendar}";