summaryrefslogtreecommitdiff
path: root/i3cstat.conf.sample
diff options
context:
space:
mode:
authorAaron Ball <nullspoon@oper.io>2020-11-12 09:34:34 -0700
committerAaron Ball <nullspoon@oper.io>2020-11-12 09:38:20 -0700
commite5d0257f562ae4ad0a29e4cd8160d655a6be4955 (patch)
treec2462aa35f17c690d6b3c225e8999bf4f049cae8 /i3cstat.conf.sample
parentb6dffdf3fa31028bb7f4097e62411ba679a7545a (diff)
downloadi3cstat-e5d0257f562ae4ad0a29e4cd8160d655a6be4955.tar.gz
i3cstat-e5d0257f562ae4ad0a29e4cd8160d655a6be4955.tar.xz
Implement support for new interval configuration
This allows the user to specify run intervals for each configured module in seconds. The purpose of this is for the modules that the user may not want running on every load cycle, so they can specify to run less frequently (minimum resolution is 1 second). Running less frequently on more cpu intensive operations can save power and reduce unecessary processing (such as checking free space on storage, which doesn't update often).
Diffstat (limited to 'i3cstat.conf.sample')
-rw-r--r--i3cstat.conf.sample2
1 files changed, 2 insertions, 0 deletions
diff --git a/i3cstat.conf.sample b/i3cstat.conf.sample
index eedc450..d267e83 100644
--- a/i3cstat.conf.sample
+++ b/i3cstat.conf.sample
@@ -17,9 +17,11 @@ display = bar
[fs]
path = /
+interval = 30
[fs]
path = /tmp
+interval = 30
[net]
ifname = wlo1

Generated by cgit