{"id":13683032,"url":"https://github.com/fosskers/rs-setwall","last_synced_at":"2025-06-23T14:35:40.809Z","repository":{"id":45505542,"uuid":"269483424","full_name":"fosskers/rs-setwall","owner":"fosskers","description":"Script for setting wallpapers in Linux window managers. ","archived":false,"fork":false,"pushed_at":"2022-04-30T18:50:58.000Z","size":36,"stargazers_count":18,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-29T21:11:25.590Z","etag":null,"topics":["linux","rust","wallpaper-changer"],"latest_commit_sha":null,"homepage":null,"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/fosskers.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-06-04T23:05:54.000Z","updated_at":"2024-09-13T16:26:26.000Z","dependencies_parsed_at":"2022-07-17T02:00:47.561Z","dependency_job_id":null,"html_url":"https://github.com/fosskers/rs-setwall","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fosskers%2Frs-setwall","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fosskers%2Frs-setwall/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fosskers%2Frs-setwall/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fosskers%2Frs-setwall/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fosskers","download_url":"https://codeload.github.com/fosskers/rs-setwall/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249318969,"owners_count":21250444,"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":["linux","rust","wallpaper-changer"],"created_at":"2024-08-02T13:01:58.080Z","updated_at":"2025-04-17T05:31:40.427Z","avatar_url":"https://github.com/fosskers.png","language":"Rust","funding_links":[],"categories":["Rust"],"sub_categories":[],"readme":"# `setwall`\n\nA simple script for automating the setting of a wallpaper on Sway/Wayland or X11.\n\nFor X11, it assumes you have `hsetroot` installed.\n\n## Usage\n\n```\nUsage: setwall [OPTIONS]\n\nOptional arguments:\n  -h, --help\n\nAvailable commands:\n  set     Set a specific image file as the background.\n  random  Choose a random image file from a given directory.\n```\n\n- Specify `-c`/`--comp` to pick an output compositor. `-c sway` will use\n  `swaybg` to replace your Sway background, while the default `-c x11` will use\n  `hsetroot`.\n- Specify `-o`/`--output` to pick a Sway output or X screen if using X11. If\n  this flag is missing, the image will be applied to all screens.\n- Specify `-k`/`--keep` to prevent the existing `swaybg` from being closed.\n\nFor instance:\n\n```sh\nsetwall random ~/Pictures -c sway -o DP-2 -o DP-3 -o HDMI-A-1\n```\n\n## X11 Automation\n\nIf you have a custom `.xinitrc`, you can set this line:\n\n```\n/home/YOU/.cargo/bin/setwall random /home/YOU/backgrounds/\n```\n\nAssuming you have a directory full of images at that path.\nEvery time you log in, you'll have a different wallpaper!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffosskers%2Frs-setwall","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffosskers%2Frs-setwall","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffosskers%2Frs-setwall/lists"}