Embed Weather and Time On An Image (BASH)

2 min read

I have several applications that show screensavers of images, optionally from a directory. Which is great. But that doesn’t have things like the time or current weather on them.

The ones I’d seen with that functionality had a tendency to crash after a couple of hours.

So building off the weather.sh script, I’ve hacked together a script that will embed the data onto a single image or a series of images. After configuring your screensaver (or whatever) to source images from a specific directory,

It is possible to use weather_images.sh by itself (and instructions for installation and setup are in the README in the subdirectory), but it’s really meant to be used alongside the main weather.sh installation.

While this is a rather niche use-case, like many open source projects, it starts from a need I have. And I’ve tried to make the programming logic pretty understandable for advanced beginner BASH scripters and above.

You can find it in the weather_images subdirectory of the repository on GitHub, GitLab, and my personal repo.

blankWas this post helpful or insightful? Buy me a coffee here or here and share this post with others!

Popular posts:

  • The difference between boundaries and rules
  • Review: MAFA - MPD client for Android
  • If there's one Nazi (or a racist) at the table...
  • Weekend Project: Whole House and Streaming Audio for Free with MPD
  • Organizing and Tiling Your Windows on #Openbox Using Only... Openbox
  • Getting the Weather And Forecast with A Bash Script

Recent Posts