diff options
author | Mihai Coman <mihai.cmn@gmail.com> | 2016-11-15 13:34:06 +0200 |
---|---|---|
committer | Mihai Coman <mihai.cmn@gmail.com> | 2016-11-15 13:34:06 +0200 |
commit | 562f6e383d84e16ad3ff9d9c777c89e8150a924f (patch) | |
tree | 5fc5cf02468b5836d16f80f31f891f9fb89dc44a /testcases/005-cpu-temp-max-threshold-format/i3status.conf | |
parent | 9375959b68d7c80dbad53a6eb0df1035bb33c6ce (diff) |
Add unit tests for threshold format
Diffstat (limited to 'testcases/005-cpu-temp-max-threshold-format/i3status.conf')
-rw-r--r-- | testcases/005-cpu-temp-max-threshold-format/i3status.conf | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/testcases/005-cpu-temp-max-threshold-format/i3status.conf b/testcases/005-cpu-temp-max-threshold-format/i3status.conf new file mode 100644 index 0000000..10c6b3c --- /dev/null +++ b/testcases/005-cpu-temp-max-threshold-format/i3status.conf @@ -0,0 +1,11 @@ +general { + output_format = "none" +} + +order += "cpu_temperature 0" + +cpu_temperature 0 { + format_above_threshold = "ABOVE_THRESHOLD: %degrees °C" + max_threshold = 45 + path = "testcases/005-cpu-temp-max-threshold-format/temp1_input" +} |