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.
This commit is contained in:
parent
b6c4d4ee46
commit
5c583c418d
2
contrib/measure-net-speed-i3status.bash
Executable file → Normal file
2
contrib/measure-net-speed-i3status.bash
Executable file → Normal file
@ -18,7 +18,7 @@
|
|||||||
# status_command measure-net-speed-i3status.bash
|
# status_command measure-net-speed-i3status.bash
|
||||||
# }
|
# }
|
||||||
|
|
||||||
i3status | (read line && echo $line && while :
|
i3status | (read line && echo $line && read line && echo $line && while :
|
||||||
do
|
do
|
||||||
read line
|
read line
|
||||||
dat=$(measure-net-speed.bash)
|
dat=$(measure-net-speed.bash)
|
||||||
|
Loading…
Reference in New Issue
Block a user