i3status/testcases/025-file-contents/i3status.conf
Dennis Vesterlund 9b5f6ae5f4 Added function to print content from file (#331)
Added a function to print file contents to status bar without newlines.
Added tests for print file contents function
Added manpage entry for file contents
2019-02-21 15:34:32 +01:00

15 lines
270 B
Plaintext

general {
output_format = "none"
}
order += "read_file EXISTING"
order += "read_file NONEXISTANT"
read_file EXISTING {
path = "testcases/025-file-contents/short.txt"
}
read_file NONEXISTANT {
path = "testcases/025-file-contents/nonexistant"
}