Skip to content

Instantly share code, notes, and snippets.

@cirrusUK
Created November 18, 2013 21:48
Show Gist options
  • Select an option

  • Save cirrusUK/7535961 to your computer and use it in GitHub Desktop.

Select an option

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