{"id":30798519,"url":"https://github.com/patrik-fredon/updates-module-fredon","last_synced_at":"2026-04-15T13:33:07.594Z","repository":{"id":309449028,"uuid":"1036331921","full_name":"patrik-fredon/updates-module-fredon","owner":"patrik-fredon","description":"Updates Module for Waybar/Hyprland/ArchLinux is an all-in-one, highly customizable Python module collection designed for next-gen Linux status bars, window managers, and system maintenance. ","archived":false,"fork":false,"pushed_at":"2025-08-12T00:59:50.000Z","size":45,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-05T18:35:31.347Z","etag":null,"topics":["archlinux","archlinux-dotfiles","customization","hyprland","hyprland-dotfiles","modules","python","updatescript","waybar","waybar-module"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/patrik-fredon.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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,"zenodo":null}},"created_at":"2025-08-11T23:22:31.000Z","updated_at":"2025-08-12T00:59:53.000Z","dependencies_parsed_at":"2025-08-12T01:23:22.502Z","dependency_job_id":"9b8c9769-1c3f-460d-8d1c-10f9b0902d0a","html_url":"https://github.com/patrik-fredon/updates-module-fredon","commit_stats":null,"previous_names":["patrik-fredon/updates-module-fredon"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/patrik-fredon/updates-module-fredon","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patrik-fredon%2Fupdates-module-fredon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patrik-fredon%2Fupdates-module-fredon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patrik-fredon%2Fupdates-module-fredon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patrik-fredon%2Fupdates-module-fredon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/patrik-fredon","download_url":"https://codeload.github.com/patrik-fredon/updates-module-fredon/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patrik-fredon%2Fupdates-module-fredon/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31842911,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-15T13:28:40.153Z","status":"ssl_error","status_checked_at":"2026-04-15T13:28:29.396Z","response_time":63,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["archlinux","archlinux-dotfiles","customization","hyprland","hyprland-dotfiles","modules","python","updatescript","waybar","waybar-module"],"created_at":"2025-09-05T18:12:28.936Z","updated_at":"2026-04-15T13:33:07.575Z","avatar_url":"https://github.com/patrik-fredon.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Updates Module Fredon\n\n```\n╔═══════════════════════════════════════════════════════════════════════╗\n║                                                                       ║\n║           ███████╗██████╗ ███████╗██████╗  ██████╗ ███╗   ██╗         ║\n║           ██╔════╝██╔══██╗██╔════╝██╔══██╗██╔═══██╗████╗  ██║         ║\n║           █████╗  ██████╔╝█████╗  ██║  ██║██║   ██║██╔██╗ ██║         ║\n║           ██╔══╝  ██╔══██╗██╔══╝  ██║  ██║██║   ██║██║╚██╗██║         ║\n║           ██║     ██║  ██║███████╗██████╔╝╚██████╔╝██║ ╚████║         ║\n║           ╚═╝     ╚═╝  ╚═╝╚══════╝╚═════╝  ╚═════╝ ╚═╝  ╚═══╝         ║\n║                                                                       ║\n║                    D O T F I L E S   M A N A G E R                    ║\n║                 “Et in tenebris codicem inveni lucem.”                ║\n╚═══════════════════════════════════════════════════════════════════════╝\n```\n\n**Patrik Fredon - FredonBytes - Where code meets innovation**\n\nA system update manager and maintenance tool designed for Waybar on Hyprland/Arch Linux systems.\n\n## Features\n\n- 🔄 **Real-time Update Monitoring**: Automatically checks for system and AUR updates\n- 🎨 **Beautiful Waybar Integration**: Seamless integration with animated visual states\n- 🖱️ **Interactive Interface**: Left-click for terminal updates, right-click for GUI menu\n- 📦 **Multi Package Manager Support**: Works with pacman, yay, and paru\n- ⚡ **Performance Optimized**: Smart caching system to minimize resource usage\n- 🎯 **Customizable**: Fully configurable icons, colors, and update intervals\n- 🛠️ **Easy Installation**: One-command setup with automated configuration\n\n## Visual States\n\n- 🟢 **Green**: System up to date\n- 🟡 **Yellow**: Updates available (animated pulse)\n- 🔵 **Blue**: Currently updating (rotating animation)\n- 🔴 **Red**: Error occurred (shake animation)\n\n## Quick Installation\n\n```bash\ngit clone https://github.com/patrik-fredon/updates-module-fredon.git\ncd updates-module-fredon\nchmod +x install.sh\n./install.sh\n```\n\n## Prerequisites\n\n- **Arch Linux** with Waybar and Hyprland\n- **Python 3.8+**\n- **Package Managers**: At least `pacman`, optionally `yay` and/or `paru`\n- **Terminal**: Default configured (kitty recommended)\n\n## Manual Installation\n\n1. **Clone the repository**:\n\n   ```bash\n   git clone https://github.com/patrik-fredon/updates-module-fredon.git\n   cd updates-module-fredon\n   ```\n\n2. **Copy files to Waybar config directory**:\n\n   ```bash\n   cp -r src/* ~/.config/waybar/scripts/\n   cp -r config/waybar/* ~/.config/waybar/\n   cp scripts/update_config.json ~/.config/waybar/scripts/\n   ```\n\n3. **Make scripts executable**:\n\n   ```bash\n   chmod +x ~/.config/waybar/scripts/arch_updates*.py\n   ```\n\n4. **Restart Waybar**:\n   ```bash\n   killall waybar \u0026\u0026 waybar \u0026\n   ```\n\n## Configuration\n\n### Update Settings\n\nConfiguration is stored in `~/.config/waybar/scripts/update_config.json`:\n\n```json\n{\n  \"update_settings\": {\n    \"check_interval\": 600,\n    \"package_managers\": [\"pacman\", \"yay\", \"paru\"],\n    \"icons\": {\n      \"no_updates\": \"✅\",\n      \"updates_available\": \"📦\",\n      \"updating\": \"🔄\",\n      \"error\": \"⚠️\"\n    },\n    \"colors\": {\n      \"no_updates\": \"#4CAF50\",\n      \"updates_available\": \"#FF9800\",\n      \"updating\": \"#2196F3\",\n      \"error\": \"#F44336\"\n    }\n  }\n}\n```\n\n### Waybar Integration\n\nThe module integrates with Waybar through:\n\n- [`config.jsonc`](config/waybar/config.jsonc): Main Waybar configuration\n- [`modules.json`](config/waybar/modules.json): Module definitions with click handlers\n- [`style.css`](config/waybar/style.css): Visual styling with animations\n\n## Usage\n\n### Basic Commands\n\n```bash\n# Check for updates (JSON output for Waybar)\n~/.config/waybar/scripts/arch_updates_simple.py --check\n\n# Run interactive update\n~/.config/waybar/scripts/arch_updates_simple.py --update\n\n# Show GUI menu (requires GUI dependencies)\n~/.config/waybar/scripts/arch_updates.py --menu\n```\n\n### Waybar Integration\n\nOnce configured, the module appears in Waybar with:\n\n- **Icon**: Shows current update status\n- **Counter**: Number of available updates\n- **Left Click**: Opens interactive terminal update\n- **Right Click**: Opens popup menu (with GUI installed)\n- **Tooltip**: Detailed breakdown of update counts\n\n## Troubleshooting\n\nFor common issues and solutions, see our [Troubleshooting Guide](docs/TROUBLESHOOTING.md).\n\n### Quick Fixes\n\n1. **Permission Denied**: Ensure scripts are executable\n\n   ```bash\n   chmod +x ~/.config/waybar/scripts/arch_updates*.py\n   ```\n\n2. **Module Not Appearing**: Check Waybar config syntax\n\n   ```bash\n   waybar -c ~/.config/waybar/config.jsonc -s ~/.config/waybar/style.css --log-level debug\n   ```\n\n3. **Force Update Check**: Send signal to Waybar\n   ```bash\n   pkill -SIGRTMIN+8 waybar\n   ```\n\n## Documentation\n\n- [Installation Guide](docs/INSTALLATION.md) - Detailed installation instructions\n- [Implementation Guide](docs/IMPLEMENTATION.md) - Configuration and customization\n- [Troubleshooting](docs/TROUBLESHOOTING.md) - Common issues and solutions\n\n## File Structure\n\n```\nupdates-module-fredon/\n├── src/                         # Core functionality\n│   ├── arch_updates.py          # Full-featured script with GUI\n│   └── arch_updates_simple.py   # Core functionality, no dependencies\n├── config/waybar/               # Waybar integration\n│   ├── config.jsonc            # Main configuration\n│   ├── modules.json            # Module definitions\n│   └── style.css               # Styling with animations\n├── scripts/                     # Supporting scripts\n│   ├── update_config.json      # Module configuration\n│   └── package-manager-setup.sh # Package manager installation\n├── docs/                        # Documentation\n└── install.sh                  # Installation script\n```\n\n## Contributing\n\nContributions are welcome! Feel free to submit improvements, especially for:\n\n- Additional package manager support\n- Enhanced visual effects\n- Performance optimizations\n- Error handling improvements\n\nPlease read our [Code of Conduct](CODE_OF_CONDUCT.md) before contributing.\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n## Changelog\n\nSee [CHANGELOG.md](CHANGELOG.md) for a list of changes in each version.\n\n---\n\n**Et in tenebris codicem inveni lucem**\n_\"In the darkness, I found the light of code\"_\n\n---\n\n© 2025 Fredon - FredonBytes\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpatrik-fredon%2Fupdates-module-fredon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpatrik-fredon%2Fupdates-module-fredon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpatrik-fredon%2Fupdates-module-fredon/lists"}