From: Tony Crisci Date: Sun, 15 Dec 2013 09:21:18 +0000 (-0500) Subject: i3bar: Print error message when status_command fails X-Git-Tag: 4.7~2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=bfe32ad797a107e4d77897a49bb7094ac82c48f6;hp=bfe32ad797a107e4d77897a49bb7094ac82c48f6;p=i3%2Fi3 i3bar: Print error message when status_command fails Add a function to i3bar to print an error message in the status line when the child process invoked by status_command fails to provide input that can be displayed as a statusline. When the child provides JSON that cannot be parsed, alert the user and convey a short message provided by yajl communicating the specific problem. When the child (or the shell executing the status command) exits unexpectedly, alert the user and display the exit code. The cases where the status command is not executable or not found in the user's PATH are treated specially. fixes #1130 ---