From 562f6e383d84e16ad3ff9d9c777c89e8150a924f Mon Sep 17 00:00:00 2001 From: Mihai Coman Date: Tue, 15 Nov 2016 13:34:06 +0200 Subject: Add unit tests for threshold format --- testcases/004-disk-low-threshold-format/i3status.conf | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 testcases/004-disk-low-threshold-format/i3status.conf (limited to 'testcases/004-disk-low-threshold-format/i3status.conf') 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" +} -- cgit v1.2.3