checkupdates
in custom waybar module?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.
waybar-module-pacman-updates
to your PATHadd to ~/.config/waybar/config
json
"custom/updates": {
"format": "{} {icon}",
"return-type": "json",
"format-icons": {
"has-updates": "",
"updated": ""
},
"exec-if": "which waybar-module-pacman-updates",
"exec": "waybar-module-pacman-updates"
}
install nerd font to see icons or change icons as you like
```bash rustup override set stable rustup update stable
git clone https://github.com/coffebar/waybar-module-pacman-updates.git /tmp/waybar-module-pacman-updates pushd /tmp/waybar-module-pacman-updates && cargo build --release
mkdir -p ~/.local/bin/ cp target/release/waybar-module-pacman-updates ~/.local/bin/
popd && rm -rf /tmp/waybar-module-pacman-updates ```