{"id":47669340,"url":"https://github.com/usr-wwelsh/cde-wallpaper","last_synced_at":"2026-04-14T20:00:22.596Z","repository":{"id":343782914,"uuid":"1178187766","full_name":"usr-wwelsh/cde-wallpaper","owner":"usr-wwelsh","description":"Plasma KDE wallpaper picker that supports CDE's original xbm and xpm images. ","archived":false,"fork":false,"pushed_at":"2026-04-14T18:04:35.000Z","size":1075,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-14T19:29:06.370Z","etag":null,"topics":["cde","gtk4","kde-plasma","retro","rust","unix","unixporn","wallpaper","wayland"],"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/usr-wwelsh.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,"zenodo":null,"notice":"NOTICE","maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-03-10T19:24:38.000Z","updated_at":"2026-04-14T18:04:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"7c8a3800-d087-4ea6-9c5d-4d06885fa0a7","html_url":"https://github.com/usr-wwelsh/cde-wallpaper","commit_stats":null,"previous_names":["usr-wwelsh/cde-wallpaper"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/usr-wwelsh/cde-wallpaper","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/usr-wwelsh%2Fcde-wallpaper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/usr-wwelsh%2Fcde-wallpaper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/usr-wwelsh%2Fcde-wallpaper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/usr-wwelsh%2Fcde-wallpaper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/usr-wwelsh","download_url":"https://codeload.github.com/usr-wwelsh/cde-wallpaper/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/usr-wwelsh%2Fcde-wallpaper/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31812977,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-14T18:05:02.291Z","status":"ssl_error","status_checked_at":"2026-04-14T18:05:01.765Z","response_time":153,"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":["cde","gtk4","kde-plasma","retro","rust","unix","unixporn","wallpaper","wayland"],"created_at":"2026-04-02T12:25:25.678Z","updated_at":"2026-04-14T20:00:22.589Z","avatar_url":"https://github.com/usr-wwelsh.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cde-wallpaper\n\n![Demo](demo.png)\n\nA Rust/GTK4 wallpaper picker for Wayland that reads authentic CDE (Common Desktop Environment) wallpaper files (`.xbm`, `.xpm`) and applies them via KDE Plasma's D-Bus API.\n\n## Features\n\n- Parses original CDE `.xbm` (X BitMap) and `.xpm` (X PixMap) wallpaper files\n- Tiled rendering for bitmap patterns; scaled rendering for full-screen XPM images\n- Built-in CDE color palettes with foreground/background color pickers\n- Live preview before applying\n- Sets wallpaper on KDE Plasma via D-Bus (`org.kde.plasmashell`)\n- Config persisted to `~/.config/cde-wallpaper/config.toml`\n\n## Requirements\n\n- Wayland compositor (tested on KDE Plasma 6)\n- GTK 4.12+\n- D-Bus session (for KDE wallpaper apply)\n- CDE wallpaper files (`.xbm` / `.xpm`) — default set included (see below)\n\n## Dependencies\n\n```toml\ngtk4 = \"0.9\"       # GUI + GDK texture\nzbus = \"5\"         # D-Bus (KDE PlasmaShell)\nimage = \"0.25\"     # PNG rendering\nserde + toml       # Config serialization\nanyhow             # Error handling\n```\n\n## Building\n\n```bash\ncargo build --release\n```\n\n## Running\n\n```bash\ncargo run --release\n```\n\nA default set of CDE wallpapers is embedded in the binary and shown on startup. Optionally click **Add folder…** to include your own wallpaper directory (files appear above the built-in defaults). Use the **Hide defaults** checkbox to hide the embedded set. Select a wallpaper, choose foreground/background colors from the CDE palette or a custom color picker, preview it, then click **Apply**.\n\n## How It Works\n\n1. **Parser** — reads `.xbm` (1-bit bitmap) and `.xpm` (indexed color) formats\n2. **Renderer** — tiles bitmaps across the screen resolution; scales select XPM images (Concave, Convex, SkyDark, SkyLight) to fill\n3. **GUI** — GTK4 window with file list, CDE palette swatches, live preview\n4. **Apply** — renders to a temporary PNG, then calls KDE Plasma's `evaluateScript` D-Bus method to set it as the wallpaper\n\n## CDE Palettes\n\nThe built-in palette list mirrors the original CDE palette set (Broica, Cactus, Default, Desert, EarthTones, Galactic, GrassyMeadow, Ivory, Maple, Monsoon, Ocean, Pumpkin, Sandstone, Slate, Spring, Sulphur, Sunshine, Tropical, Tundra, Wheat).\n\n## Bundled Wallpapers\n\nThe default wallpaper files embedded in this binary (`.bm`, `.xbm`, `.pm`, `.xpm` files in `assets/wallpapers/`) originate from the **Common Desktop Environment (CDE)** and are licensed under the **Creative Commons Attribution-ShareAlike 3.0 (CC BY-SA 3.0)** license. These files were not created by the author of this project. Source: [CDE on SourceForge](https://sourceforge.net/projects/cdesktopenv/).\n\nThe color palettes are also derived from CDE and are not original works of this project's author.\n\n## License\n\nMIT — see [LICENSE](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fusr-wwelsh%2Fcde-wallpaper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fusr-wwelsh%2Fcde-wallpaper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fusr-wwelsh%2Fcde-wallpaper/lists"}