Widgeting, GObjects and D-Bus
Since my last post on setting up a caffeine widget, I’ve been drawn back into customizing my rice. It’s been interesting to come back to all the widgets I wrote back in college and look at them with a couple years of experience. Notably, some event-loop-blocking operations and a bunch of places where I chose to go the route of polling a shell command over using event-based triggers. I understand that the gains here are marginal (especially when I have, like, three Electron apps running at all times), but what kind of engineer am I if I don’t try to eke out every last CPU cycle from my machine?