100 Days of Code: Day 03

More writing my custom powerlevel10k segment. It’s to a point where I have it in my $ZDOTDIR/.zshrc. I split the main logic into its own autoloaded function file, since I expect most users to have cache misses on 90% of their sessions. Now that I’m using it daily, I’ll probably get distracted by whatever paper cuts still remain in the project.

I also made an error? miscalculation? in a contribution to waybar. I’m curious what is wrong, because I made what looks like a fix to me, but not to the owner. They are almost certainly right, but I’m hoping to learn why.