{"id":27093572,"url":"https://github.com/ccuqme/swarofi-updater","last_synced_at":"2025-04-06T08:37:51.751Z","repository":{"id":163694686,"uuid":"637510810","full_name":"ccuqme/swarofi-updater","owner":"ccuqme","description":"A GUI Updater \u0026 Waybar Applet for Fedora Sericea","archived":false,"fork":false,"pushed_at":"2024-07-13T22:47:49.000Z","size":89,"stargazers_count":8,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-07-13T23:39:39.638Z","etag":null,"topics":["fedora","rofi","rofi-scripts","rpm-ostree","sericea","sway","updater-app","waybar"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/ccuqme.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-05-07T19:19:16.000Z","updated_at":"2024-07-13T22:47:52.000Z","dependencies_parsed_at":"2023-07-11T14:16:18.178Z","dependency_job_id":null,"html_url":"https://github.com/ccuqme/swarofi-updater","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ccuqme%2Fswarofi-updater","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ccuqme%2Fswarofi-updater/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ccuqme%2Fswarofi-updater/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ccuqme%2Fswarofi-updater/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ccuqme","download_url":"https://codeload.github.com/ccuqme/swarofi-updater/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247457732,"owners_count":20941905,"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":["fedora","rofi","rofi-scripts","rpm-ostree","sericea","sway","updater-app","waybar"],"created_at":"2025-04-06T08:37:51.122Z","updated_at":"2025-04-06T08:37:51.742Z","avatar_url":"https://github.com/ccuqme.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Swarofi Updater\n\nSwarofi (Sericea/Sway, Waybar, Rofi) Updater is a GUI Updater \u0026 Waybar Applet for Fedora Sericea.\n\nThis repository contains a shell script and a Waybar applet specifically designed for Fedora Sericea to notify of updates and to update Flatpak and RPM-OSTree packages. The script uses Rofi to create windows for user interaction. Modifications might be required to make it work on other OSTRee based distributions, and is definitely required for non-OSTRee based ones.\n\n\n## Demo\n\n\n[swarofi.webm](https://github.com/ccuqme/swarofi-updater/assets/63260355/4aa7cf84-a9fc-4615-8181-294d3f75ffd7)\n\n\n## Screenshots\n\n### Updater\n![updates_available](https://github.com/ccuqme/swarofi-updater/assets/63260355/add2187e-3e14-4ef1-9a1c-06b5a0cdb570)\n![updated](https://github.com/ccuqme/swarofi-updater/assets/63260355/86cb0869-cdae-4b4b-bb47-d91ea8d61eb6)\n\n### Applet\n![applet](https://user-images.githubusercontent.com/63260355/236722308-8ac29db4-a01f-46e4-9f78-ca9f62a04897.png)\n\n\n## Usage\n\n1. Clone this repository to your desired location:\n\n```bash\ngit clone https://github.com/ccuqme/swarofi-updater.git\n```\n\n2. Make the scripts swarofi-updater.sh and swarofi-applet.sh executable:\n\n```chmod +x swarofi-updater/swarofi-updater.sh swarofi-updater/swarofi-applet.sh```\n\n3. Configure the Waybar applet by adding the following to your Waybar configuration file:\n```json\n{\n  \"custom/swarofi-updates\": {\n    \"format\": \"Updates: {}\",\n    \"interval\": 3600,\n    \"exec\": \"path/to/swarofi-updater/swarofi-applet.sh\",\n    \"on-click\": \"path/to/swarofi-updater/swarofi-updater.sh\",\n    \"signal\": 8\n  }\n}\n```\nReplace `path/to/swarofi-updater` with the actual path to the repository.\n\n4. Add `custom/swarofi-updates` to left, center or right module (e.g. `\"modules-right\": [\"custom/swarofi-updates\", \"tray\", \"idle_inhibitor\", \"pulseaudio\", \"clock\"]`)\n\n5. Reload your Waybar configuration (By reloading Sway)\n\nNow you should see the update notifications in your Waybar when there is updates available. It should not show when there is 0 updates.\n\n## Customization\n### Rofi Appearance\nTo customize the Rofi appearance, modify the style-1.rasi file. This style is a barely customized version of type-1 and style-1 from [github.com/adi1090x/rofi/tree/master/files/applets](https://github.com/adi1090x/rofi/tree/master/files/applets), so the other styles from this repo should work by changing window width to 820px, and listview layout to \"horizontal\". I don't think I changed anything else.\n\n### Color Schemes\nTo change the color scheme, edit the `shared/colors.rasi` file by changing the import line, for example:\n\n```arduino\n@import ./colors/dracula.rasi\"\n```\n\n####  Available color schemes:\n\n* adapta\n* arc\n* black\n* catppuccin\n* cyberpunk\n* dracula\n* everforest\n* gruvbox\n* lovelace\n* navy\n* nord\n* onedark\n* paper\n* solarized\n* yousai\n\n\n## Credits\nThis project uses theme and style files from [adi1090x/rofi](https://github.com/adi1090x/rofi).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fccuqme%2Fswarofi-updater","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fccuqme%2Fswarofi-updater","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fccuqme%2Fswarofi-updater/lists"}