diff options
author | Michael Stapelberg <stapelberg@users.noreply.github.com> | 2016-11-16 13:45:59 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-16 13:45:59 -0800 |
commit | b91e2a4b71911bf2767865580e519c93b26390e8 (patch) | |
tree | ddd829d68420558612fcf189e214d842757fb5b8 /testcases/004-disk-low-threshold-format | |
parent | 7b63102b9d646ef40edd76a3132f11ab74d5efd6 (diff) | |
parent | 562f6e383d84e16ad3ff9d9c777c89e8150a924f (diff) |
Merge pull request #179 from mihaicmn/feature-threshold-format
Provide format_above_threshold/format_below_threshold options
Diffstat (limited to 'testcases/004-disk-low-threshold-format')
-rw-r--r-- | testcases/004-disk-low-threshold-format/expected_output.txt | 1 | ||||
-rw-r--r-- | testcases/004-disk-low-threshold-format/i3status.conf | 12 |
2 files changed, 13 insertions, 0 deletions
diff --git a/testcases/004-disk-low-threshold-format/expected_output.txt b/testcases/004-disk-low-threshold-format/expected_output.txt new file mode 100644 index 0000000..6c5f96c --- /dev/null +++ b/testcases/004-disk-low-threshold-format/expected_output.txt @@ -0,0 +1 @@ +BELOW_THRESHOLD diff --git a/testcases/004-disk-low-threshold-format/i3status.conf b/testcases/004-disk-low-threshold-format/i3status.conf new file mode 100644 index 0000000..ef1e96f --- /dev/null +++ b/testcases/004-disk-low-threshold-format/i3status.conf @@ -0,0 +1,12 @@ +general { + output_format = "none" +} + +order += "disk /" + +disk "/" { + format = "%used" + format_below_threshold = "BELOW_THRESHOLD" + low_threshold = 100 + threshold_type = "percentage_free" +} |