waybar-module-pacman-updates-0.1.0 is not a library.
waybar module for Arch to show system updates available
Reason
Why not just exec checkupdates in custom waybar module?
- This module will provide relevant local information constantly and periodically update data from the network in backgroud. Direct "checkupdates" will only give you one of two things: updating the information with a long delay or having the module constantly active on the network.
- This module has 2 states which gives you the ability to display different icons depending on status.
- Waybar expects JSON in an infinite loop from modules. So we have this.
This small program will give you fast updates with less network usage. After you have installed all the updates, the module will immediately go into the Updated state. You don't need to send signals to waybar to update this module state.
How to use
- install binary
waybar-module-pacman-updatesto your PATH - add to ~/.config/waybar/config
"custom/updates":
- install nerd font to see icons or change icons as you like
Building binary from source
&&
&&