Making a Word Cloud of your #TaskWarrior Tags

Here is a quick way to generate a word cloud of your Task Warrior tags:

[mjs]$ ( echo graph d{ ; task tags | tail -n +4 | awk '{print "\""$1"\"[fontsize="10*sqrt($2)",shape=none];"}'; echo } ) | fdp -Tpng > tag-cloud.png

Note that “fdp” comes from the “graphviz” package, so make sure that is installed first.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s