{"id":50900802,"url":"https://github.com/webdevred/wpc","last_synced_at":"2026-06-16T02:30:26.678Z","repository":{"id":276581058,"uuid":"929692372","full_name":"webdevred/wpc","owner":"webdevred","description":"wpc","archived":false,"fork":false,"pushed_at":"2026-05-14T13:32:49.000Z","size":2445,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-05-29T09:34:31.953Z","etag":null,"topics":["gtk4","tiling-window-manager"],"latest_commit_sha":null,"homepage":"","language":"C","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/webdevred.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":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-02-09T06:31:31.000Z","updated_at":"2026-05-14T13:32:53.000Z","dependencies_parsed_at":"2025-05-05T14:36:14.361Z","dependency_job_id":"3d7eb51c-5d53-4326-a2f6-3867f9ce7fbb","html_url":"https://github.com/webdevred/wpc","commit_stats":null,"previous_names":["webdevred/wpc"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/webdevred/wpc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webdevred%2Fwpc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webdevred%2Fwpc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webdevred%2Fwpc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webdevred%2Fwpc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/webdevred","download_url":"https://codeload.github.com/webdevred/wpc/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webdevred%2Fwpc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34388669,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-16T02:00:06.860Z","response_time":126,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["gtk4","tiling-window-manager"],"created_at":"2026-06-16T02:30:26.075Z","updated_at":"2026-06-16T02:30:26.670Z","avatar_url":"https://github.com/webdevred.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WPC - Desktop and lock screen wallpaper setter\n\n[![Formatting](https://github.com/webdevred/wpc/actions/workflows/formatting.yaml/badge.svg?event=push)](https://github.com/webdevred/wpc/actions/workflows/formatting.yaml)\n[![Building](https://github.com/webdevred/wpc/actions/workflows/build.yaml/badge.svg?event=push)](https://github.com/webdevred/wpc/actions/workflows/build.yaml)\n\n\u003c!--toc:start--\u003e\n- [WPC - Desktop and lock screen wallpaper setter](#wpc-desktop-and-lock-screen-wallpaper-setter)\n  - [Introduction](#introduction)\n  - [Features](#features)\n  - [Planned features/todo list](#planned-featurestodo-list)\n  - [Installation](#installation)\n  - [Usage](#usage)\n  - [System requirements](#system-requirements)\n  - [License](#license)\n\u003c!--toc:end--\u003e\n\n## Introduction\n\nWPC (wallpaper changer) is a program that allows the user to set wallpapers for both the desktop and lock screen. It is a simple and easy-to-use application that lets you personalize your computer and make it more visually appealing.\n\nThe program supports various image formats and makes it easy to change the wallpaper with a user-friendly interface.\n\n## Features\n\n![Demo](wpc_demo.gif)\n\n- Set wallpapers for both the *desktop* and *lock screen*.\n- Store background source directory along with set backgrounds for monitors in a *config file*.\n- Ability to *change the source directory* directly from the GUI.\n- No need for `sudo` (previously required for manually editing `/etc/lightdm/*`).\n- Clean separation between *desktop wallpaper* handling and *lock screen wallpaper* handling.\n- Support for common image formats (JPEG, PNG, BMP, etc.).\n- [Multiple wallpaper modes](BG_MODES.org)\n\n## Planned features/todo list\n\n- Add Wayland support\n- Migrate from JSON to toml for config\n- Improve security for desktop manager helper\n- Implement support for other desktop manager than LightDM + lightdm-gtk-greeter\n- Implement caching of thumbnails for wallpapers in the UI\n- Add -d flag which should behave like -b flag (which starts with no GUI and sets backgrounds and exits) but keep the software running and switch backgrounds according to algo on a configurable interval\n\n## Installation\n\nTo install WPC, follow these steps:\n\n```bash\ngit clone https://github.com/webdevred/wpc\ncd wpc\ngcc nob.c -o nob\n./nob\n```\n\nAlternatively, you can use the legacy Makefile:\n```bash\ngit clone https://github.com/webdevred/wpc\ncd wpc\nmake\n```\n\nBoth build systems should work, but nob is the preferred method.\n\n## Usage\n\nYou can create this config file in ~/.config/wpc/settings.json before you start the program.\nIf you do not create a config file then source directory will be set to your pictures directory in your home directory.\n\n```js\n{\n    \"sourceDirectoryPath\" : \"/mnt/HDD/backgrounds/\",\n    \"monitorsWithBackgrounds\": []\n}\n```\n\n1. Set Desktop Wallpaper:\n   - Open the program by running wpc in your terminal\n   - Browse to select an image file from your computer\n   - The image will now applied for the correct monitor\n\n2. Set Lock Screen Wallpaper:\n   - Select the \"Lock Screen\" tab.\n   - Follow the same process as the desktop wallpaper to select an image file.\n\n## System requirements\n\nRequirements:\n- libxrandr-dev\n- libx11-dev\n- libgtk-4-dev\n- libmagic-dev\n- libcjson-dev\n- libmagickwand-dev\n- imagemagick\n\nInstall the requirements like this:\n\n```bash\nsudo apt update \u0026\u0026 sudo apt install -y libxrandr-dev libx11-dev libgtk4-dev libcjson-dev libmagickwand-dev\n```\n\n## License\n\nWPC is licensed under the MIT License. See the LICENSE file for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebdevred%2Fwpc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebdevred%2Fwpc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebdevred%2Fwpc/lists"}