Skip to content

Instantly share code, notes, and snippets.

@KLIM8D

KLIM8D/i3-script Secret

Created March 9, 2014 17:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save KLIM8D/c4f3526bfb86d063792a to your computer and use it in GitHub Desktop.
Save KLIM8D/c4f3526bfb86d063792a 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/.conky-i3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment