Background
I’ve been messing around with GNU/Linux lately on my laptop and decided to go with a lightweight tiling window manager on Wayland. I chose Sway as I was already familiar with i3. Waybar seems to be the most popular bar so I went with it. I noticed there was a third-party update module for Arch but not one for APT, so I decided to make one.
Implementation
Not much to say here, I used a command from Stack Overflow to get the updates, formatted it in JSON and added some icons.
Conclusion
I think this is a cool modular script and very useful for those using Waybar on Debian-based distros.
For setup instructions see the GitHub repo.
Waybar APT Updates is licensed under the GPLv3.