Last active
August 29, 2015 14:10
-
-
Save mubeeniqbal/abc233276c3185dac15b to your computer and use it in GitHub Desktop.
Wrapper script for Conky to run with i3bar.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# | |
# Wrapper script for Conky to run with i3bar. | |
# Send the header so that i3bar knows we want to use JSON. | |
echo '{"version":1}' | |
# Begin an 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 --config="${HOME}/.conkyrc" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment