aboutsummaryrefslogtreecommitdiff
path: root/config/sway/conky-swaybar
blob: 0e036fb0fe5dd6e89f4904644a1b40d8b2db5bbd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

# Send the header so that i3bar knows we want to use JSON:
echo '{"version":1}'

# Begin the endless array.
echo '['

# We send an empty first array of blocks to make the loop simpler:
echo '[],'

# Now send blocks with information forever:
exec conky -c $HOME/.config/sway/conkyrc.json