contrib: fix premature insetion of status message into JSON
Patch status: merged
Patch by Jiri Pinkava
Long description:
Pass first 2 lines of JSON unmodified. It contains protocol version and start of block of blocks of status messages.
To apply this patch, use:
curl http://cr.i3wm.org/patch/61/raw.patch | git am
b/contrib/measure-net-speed-i3status.bash
| 18 |
@@ -18,7 +18,7 @@ |
| 19 |
# status_command measure-net-speed-i3status.bash |
| 20 |
# } |
| 21 |
|
| 22 |
-i3status | (read line && echo $line && while : |
| 23 |
+i3status | (read line && echo $line && read line && echo $line && while : |
| 24 |
do |
| 25 |
read line |
| 26 |
dat=$(measure-net-speed.bash) |