shell – mjs.fyi Technology, Cyber Security, Digital Transformation, and Beer Sat, 10 Nov 2018 14:00:21 +0000 en-US hourly 1 https://wordpress.org/?v=6.6.1 Making a Word Cloud of your #TaskWarrior Tags /2018/11/making-a-word-cloud-of-your-taskwarrior-tags/ /2018/11/making-a-word-cloud-of-your-taskwarrior-tags/#respond Sat, 10 Nov 2018 14:00:21 +0000 http://mjs.fyi/?p=794 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.

]]>
/2018/11/making-a-word-cloud-of-your-taskwarrior-tags/feed/ 0