8 lines
211 B
Bash
Executable File
8 lines
211 B
Bash
Executable File
#!/bin/bash
|
|
|
|
i3status | (read line; echo "$line"; read line ; echo "$line" ; read line ; echo "$line" ; while true
|
|
do
|
|
read line
|
|
json_array="$(echo $line | sed -e 's/^,//')"
|
|
echo ",$json_array"
|
|
done) |