Topic: https://brettterpstra.com/2011/02/20/imagemagick-and-geektool-or-nerdtool/
hide preview

What's next? verify your email address for reply notifications!

Daniel 13y, 349d ago

For me this is a fun way of displaying the ordinal date (aka Julian = date +'%j' ) alongside the normal Gregorian date, which I use in some filing. However, the convert command is killing my CPU usage.

Brett, am I correct in assuming that this is why this very pretty trick was not on the pretty desktop shot you shared a day or so after this tip went up?

remark link
hide preview

What's next? verify your email address for reply notifications!

Brett 13y, 349d ago

Pretty much. This is an experiment for me, not necessarily something I've tested thoroughly in daily use. I think it has some potential, but you're right, the current scheme is pretty CPU-intensive on most machines.

hide preview

What's next? verify your email address for reply notifications!

Alan Schmitt 14y, 25d ago

Hello,

Great tip! I had to change a couple things to make it work:
- the "-transparent black" option as hinted in the previous comment
- the target image had to be a ".png" to preserve the transparency

Also, line 27 (defining hhr) is not necessary (it's not used).

hide preview

What's next? verify your email address for reply notifications!

Robert Marll 14y, 28d ago

Thanks for the tip and scripts, the output looks great!

FYI, lines 21 and 23 where you rotate the image require the "-transparent black" flag to preserve the transparency during the rotation operation. At least on my machine.

hide preview

What's next? verify your email address for reply notifications!