From: Jiri Pinkava Date: Tue, 26 Feb 2013 19:16:47 +0000 (+0100) Subject: contrib: fix premature insetion of status message into JSON X-Git-Tag: 2.7~1 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5c583c418d138a0153ab6348d602073fbfd6217f;p=i3%2Fi3status contrib: fix premature insetion of status message into JSON Pass first 2 lines of JSON unmodified. It contains protocol version and start of block of blocks of status messages. --- diff --git a/contrib/measure-net-speed-i3status.bash b/contrib/measure-net-speed-i3status.bash old mode 100755 new mode 100644 index 9f9e5ce..4eec33b --- a/contrib/measure-net-speed-i3status.bash +++ b/contrib/measure-net-speed-i3status.bash @@ -18,7 +18,7 @@ # status_command measure-net-speed-i3status.bash # } -i3status | (read line && echo $line && while : +i3status | (read line && echo $line && read line && echo $line && while : do read line dat=$(measure-net-speed.bash)