From fa698f81cb46db0a2f8f658e8f88e62f816d2daf Mon Sep 17 00:00:00 2001 From: Vito Caputo Date: Tue, 21 Feb 2023 18:18:52 -0800 Subject: charts: remove INFINITY (0Hz) from intervals It's nice to be able to blindly hit Mod1+Left a bunch to minimize the monitoring overhead, like when trying to preserve battery etc. But I've found myself sometimes annoyed that I've completely disabled the monitors when I reach for the overlays. This change removes the 0Hz option from the preset intervals, so now when you lower monitoring by blindly hitting Mod1+Left a bunch it'll bottom out at 1HZ. A subsequent commit will wire up disabling the monitors to an explicit vwm key combo (probably Mod1+z). --- src/charts.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/charts.c') diff --git a/src/charts.c b/src/charts.c index 37e4691..c01e8fe 100644 --- a/src/charts.c +++ b/src/charts.c @@ -144,7 +144,6 @@ typedef struct _vwm_perproc_ctxt_t { static float sampling_intervals[] = { - INFINITY, /* STOPPED */ 1, /* ~1Hz */ .1, /* ~10Hz */ .05, /* ~20Hz */ -- cgit v1.2.3