{"id":16646361,"url":"https://github.com/coffebar/waybar-module-pacman-updates","last_synced_at":"2026-01-12T15:51:24.380Z","repository":{"id":65941193,"uuid":"602711124","full_name":"coffebar/waybar-module-pacman-updates","owner":"coffebar","description":"waybar module for Arch to show system updates available","archived":false,"fork":false,"pushed_at":"2024-10-06T20:59:21.000Z","size":111,"stargazers_count":62,"open_issues_count":2,"forks_count":4,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-29T03:03:22.620Z","etag":null,"topics":["hyprland","rust","sway","waybar","wayland"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/coffebar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-02-16T19:33:56.000Z","updated_at":"2025-03-27T15:45:15.000Z","dependencies_parsed_at":"2024-10-26T20:44:18.165Z","dependency_job_id":"e7c541a2-7685-4654-8d21-22ff51ac70f4","html_url":"https://github.com/coffebar/waybar-module-pacman-updates","commit_stats":{"total_commits":25,"total_committers":3,"mean_commits":8.333333333333334,"dds":0.4,"last_synced_commit":"55236bc39335c9fdcc3e8054e875defea1416655"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coffebar%2Fwaybar-module-pacman-updates","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coffebar%2Fwaybar-module-pacman-updates/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coffebar%2Fwaybar-module-pacman-updates/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coffebar%2Fwaybar-module-pacman-updates/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/coffebar","download_url":"https://codeload.github.com/coffebar/waybar-module-pacman-updates/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247284943,"owners_count":20913704,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["hyprland","rust","sway","waybar","wayland"],"created_at":"2024-10-12T08:27:20.936Z","updated_at":"2026-01-12T15:51:24.368Z","avatar_url":"https://github.com/coffebar.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# waybar module for Arch to show system updates available\n\nShows updates from official repositories and AUR packages.\n\n![screenshot](/screenshot.jpg)\n\n![](https://img.shields.io/aur/version/waybar-module-pacman-updates-git)\n![](https://img.shields.io/crates/v/waybar-module-pacman-updates)\n![](https://img.shields.io/aur/license/waybar-module-pacman-updates-git)\n![](https://img.shields.io/crates/d/waybar-module-pacman-updates)\n![](https://img.shields.io/github/issues-raw/coffebar/waybar-module-pacman-updates)\n\n\n## Reason\n\n#### Why not just exec `checkupdates` in custom waybar module? \n\n- 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.\n- This module has 2 states which gives you the ability to display different icons depending on status.\n- Waybar expects JSON in an infinite loop from modules. So we have this.\n- See updates list in tooltip.\n- **NEW**: Includes AUR packages updates (uses `pacman -Qm` + AUR API, no AUR helper required).\n\nThis 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.\n\n\n## How to use\n\n - install binary `waybar-module-pacman-updates` to your *PATH*\n - add to ~/.config/waybar/config \n\n```json\n\"custom/updates\": {\n    \"format\": \"{} {icon}\",\n    \"return-type\": \"json\",\n    \"format-icons\": {\n        \"has-updates\": \"󱍷\",\n        \"updated\": \"󰂪\"\n    },\n    \"exec-if\": \"which waybar-module-pacman-updates\",\n    \"exec\": \"waybar-module-pacman-updates --interval-seconds 5 --network-interval-seconds 300\"\n}\n```\n - add `\"custom/updates\"` to one of `modules-left`, `modules-center` or `modules-right`\n - install nerd font to see icons or change icons as you like and restart waybar\n\n## Options\n\n`--no-zero-output` - don't print \"0\" if there are no updates available.\n\n`--no-aur` - disable checking for AUR updates.\n\n`--interval-seconds` - interval to run checkupdates without network usage.\n\n`--network-interval-seconds` - interval to run checkupdates and AUR updates with network usage.\n\n`--tooltip-align-columns` - format tooltip as a table using given monospaced font.\n\n`--color-semver-updates` - color each package update in a color corresponding to the type of update (major, minor, patch, pre)\n\n`--arrow-style` - change the arrow symbols that are displayed between version updates.\n\n`--column-color-overrides` - override the color of each of the four columns corresponding to (package, previous version, arrow, new version)\n\n### How to hide the module when there are no updates available\n\n##### waybar config\n\n```json\n\"custom/updates\": {\n    \"format\": \"{} {icon}\",\n    \"return-type\": \"json\",\n    \"format-icons\": {\n        \"has-updates\": \"󱍷\",\n        \"updated\": \"\"\n    },\n    \"exec-if\": \"which waybar-module-pacman-updates\",\n    \"exec\": \"waybar-module-pacman-updates --no-zero-output\"\n}\n```\n\nOr use this format if you want to show icon before the number of updates:\n\n```json\n...\n{\n\t\"format\": \"{icon} {0}\",\n\t...\n}\n```\n\n##### style.css\n\n```css\n#custom-updates {\n\tbackground-color: transparent;\n}\n```\n\n## installation options\n\n### Install from cargo crates\n\n```bash\ncargo install waybar-module-pacman-updates\n```\n\nMake sure you have `$HOME/.cargo/bin` in your *PATH* env variable.\n\n### Install from [AUR](https://aur.archlinux.org/packages/waybar-module-pacman-updates-git)\n\n```bash\nyay -S waybar-module-pacman-updates-git\n```\n\n### Install from source\n\n ```bash\nsh -c \"$(wget -O- https://raw.githubusercontent.com/coffebar/waybar-module-pacman-updates/master/installer.sh)\"\n```\n\nMake sure you have `$HOME/.local/bin` in your *PATH* env variable.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoffebar%2Fwaybar-module-pacman-updates","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoffebar%2Fwaybar-module-pacman-updates","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoffebar%2Fwaybar-module-pacman-updates/lists"}