Adding Blocks to Shuibar
By chimo on (updated on )A while ago (*checks git history*, around August, 2023), I started working on a custom statusbar for the swaywm. As with most things I write, I don't necessarily recommend people use this; it's mostly there for me to learn about different things and to scratch my own itch type-of-thing. Last week, I added a simple block to it and I'm just really enjoying how easy it was to add that functionality in.
With the recent v3.21 Alpine Linux release, I was eager to switch my default Incus base-images to the new version but the image wasn't available on linuxcontainers.org just yet. I didn't want to keep checking manually, but wanted to know about its availability sooner rather than later. That's what the ambiguously (for now) named "container-images.sh" block does. It's essentially a single command (okay two commands if you count `grep`) and a `print` statement. This morning when I logged-in I had a "images:alpine/3.21" item in my statusbar, which meant the image was now available. Yay.