{"id":21361061,"url":"https://github.com/syphiel/rrwidget","last_synced_at":"2026-04-24T20:03:43.261Z","repository":{"id":263720218,"uuid":"889745778","full_name":"Syphiel/rrwidget","owner":"Syphiel","description":"A custom waybar reddit widget","archived":false,"fork":false,"pushed_at":"2024-12-19T01:03:06.000Z","size":78,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-16T06:43:10.612Z","etag":null,"topics":["gtk4","gtk4-rs","reddit","reddit-crawler","swaywm","waybar"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Syphiel.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":"2024-11-17T05:39:36.000Z","updated_at":"2024-12-19T01:03:10.000Z","dependencies_parsed_at":null,"dependency_job_id":"02110f6c-7ffd-4a95-bcac-9088737cda8c","html_url":"https://github.com/Syphiel/rrwidget","commit_stats":null,"previous_names":["syphiel/rrwidget"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Syphiel%2Frrwidget","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Syphiel%2Frrwidget/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Syphiel%2Frrwidget/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Syphiel%2Frrwidget/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Syphiel","download_url":"https://codeload.github.com/Syphiel/rrwidget/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243835936,"owners_count":20355611,"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":["gtk4","gtk4-rs","reddit","reddit-crawler","swaywm","waybar"],"created_at":"2024-11-22T06:08:20.409Z","updated_at":"2026-04-24T20:03:42.823Z","avatar_url":"https://github.com/Syphiel.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RRWidget\nA custom waybar reddit widget. Designed to be used in conjunction with sway and waybar to display a notification icon upon new posts in a given subreddit. D-Bus controlled for easy visibility toggling via sway binds.\n\n\u003e [!WARNING]\n\u003e This project is designed for my very specific use case and will likely not work for you. If you want to use it, you will need to modify the code to fit your needs.\n\n![Screenshot](screenshot.png)\n\n### Requirements\n- [GTK4](https://www.gtk.org/docs/installations/linux)\n- [Rust](https://rustup.rs/)\n\n### Installation\nBuild and install the binary:\n```bash\ngit clone https://github.com/syphiel/RRWidget.git\ncd RRWidget\ncargo build --release\ncp target/release/rrwidget ~/.local/bin/\ncp scripts/toggle-widget.sh ~/.local/bin/\n```\n\n### Example Usage\nAdd the following to your waybar config:\n```json\n\"custom/rrwidget\": {\n    \"exec\": \"GSK_RENDERER=ngl $HOME/.local/bin/rrwidget\",\n    \"tooltip\": false,\n    \"return-type\": \"json\",\n    \"restart-interval\": 60,\n    \"format\": \"{icon}\",\n    \"format-icons\": {\n        \"default\": \"\",\n        \"new\": \"\",\n    }\n},\n```\nEnable `custom/rrwidget` in `modules-left`, `modules-center`, or `modules-right` as desired.\n\nAdd the following to your sway config:\n```\nbindsym $mod+u exec /home/montasir/.local/bin/toggle-widget.sh\n\nfor_window [app_id=\"io.syph.rrwidget\"] {\n    floating enable\n    move position center\n}\n```\n\n### License\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsyphiel%2Frrwidget","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsyphiel%2Frrwidget","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsyphiel%2Frrwidget/lists"}