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"
}
"custom/updates"
to one of modules-left
, modules-center
or modules-right
bash
cargo install waybar-module-pacman-updates
Make sure you have $HOME/.cargo/bin
in your PATH env variable.
bash
yay -S waybar-module-pacman-updates-git
bash
sh -c "$(wget -O- https://raw.githubusercontent.com/coffebar/waybar-module-pacman-updates/master/installer.sh)"
Make sure you have $HOME/.local/bin
in your PATH env variable.