diff options
| author | eplanet | 2016-11-19 15:02:10 +0100 | 
|---|---|---|
| committer | Michael Stapelberg | 2016-11-19 06:02:10 -0800 | 
| commit | 6f7724ec6425944a09ba6bd14828d1e2fd5b3467 (patch) | |
| tree | 1a5c00a720310ab65c09d15d13f2c77edbd2750e /testcases/009-disk-low-threshold-format | |
| parent | Merge pull request #179 from mihaicmn/feature-threshold-format (diff) | |
Adding documentation for PR #179 (#182)
Diffstat (limited to 'testcases/009-disk-low-threshold-format')
| -rw-r--r-- | testcases/009-disk-low-threshold-format/expected_output.txt | 1 | ||||
| -rw-r--r-- | testcases/009-disk-low-threshold-format/i3status.conf | 12 | 
2 files changed, 13 insertions, 0 deletions
| diff --git a/testcases/009-disk-low-threshold-format/expected_output.txt b/testcases/009-disk-low-threshold-format/expected_output.txt new file mode 100644 index 0000000..6c5f96c --- /dev/null +++ b/testcases/009-disk-low-threshold-format/expected_output.txt @@ -0,0 +1 @@ +BELOW_THRESHOLD diff --git a/testcases/009-disk-low-threshold-format/i3status.conf b/testcases/009-disk-low-threshold-format/i3status.conf new file mode 100644 index 0000000..ef1e96f --- /dev/null +++ b/testcases/009-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" +} | 
