Skip to content

Instantly share code, notes, and snippets.

@jschmid1
Created February 13, 2015 15:43
Show Gist options
  • Select an option

  • Save jschmid1/1b2d01f38cf1f6b96a03 to your computer and use it in GitHub Desktop.

Select an option

Save jschmid1/1b2d01f38cf1f6b96a03 to your computer and use it in GitHub Desktop.
#!/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/.conkyrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment