blob: 7d90551cf05a40684a48cc05f7cf09f49f24df00 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#!/bin/bash
# Send the header so that i3bar knows we want to use JSON:
printf "%s" '{"version":1}'
# Begin the endless array.
printf "%s" '['
# We send an empty first array of blocks to make the loop simpler:
printf "%s" '[],'
# Now send blocks with information forever:
exec conky -c "$HOME/.i3/conkyrc"
|