Crates.io | waybar-module-pacman-updates |
lib.rs | waybar-module-pacman-updates |
version | 0.2.7 |
source | src |
created_at | 2023-02-17 11:10:03.741824 |
updated_at | 2024-10-06 20:44:23.055636 |
description | waybar module for Arch to show system updates available |
homepage | |
repository | https://github.com/coffebar/waybar-module-pacman-updates |
max_upload_size | |
id | 787485 |
size | 46,927 |
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 PATH"custom/updates": {
"format": "{} {icon}",
"return-type": "json",
"format-icons": {
"has-updates": "",
"updated": ""
},
"exec-if": "which waybar-module-pacman-updates",
"exec": "waybar-module-pacman-updates --interval-seconds 5 --network-interval-seconds 300"
}
"custom/updates"
to one of modules-left
, modules-center
or modules-right
--no-zero-output
- don't print "0" if there are no updates available.
--interval-seconds
- interval to run checkupdates without network usage.
--network-interval-seconds
- interval to run checkupdates with network usage.
--tooltip-align-columns
- format tooltip as a table using given monospaced font.
"custom/updates": {
"format": "{} {icon}",
"return-type": "json",
"format-icons": {
"has-updates": "",
"updated": ""
},
"exec-if": "which waybar-module-pacman-updates",
"exec": "waybar-module-pacman-updates --no-zero-output"
}
#custom-updates {
background-color: transparent;
}
cargo install waybar-module-pacman-updates
Make sure you have $HOME/.cargo/bin
in your PATH env variable.
yay -S waybar-module-pacman-updates-git
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.