summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2023-02-21 18:18:52 -0800
committerVito Caputo <vcaputo@pengaru.com>2023-02-21 18:18:52 -0800
commitfa698f81cb46db0a2f8f658e8f88e62f816d2daf (patch)
treed845e26c7b81209176ee249c698b33fa6da3c3a8 /src
parent1f2fa9c5a61ed86cc4699306cdea0dbb9b38a462 (diff)
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).
Diffstat (limited to 'src')
-rw-r--r--src/charts.c1
1 files changed, 0 insertions, 1 deletions
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 */
© All Rights Reserved