{"id":16493440,"url":"https://github.com/t1m0thyj/wdd-scripts","last_synced_at":"2025-04-09T14:06:09.584Z","repository":{"id":44723916,"uuid":"233321978","full_name":"t1m0thyj/WDD-scripts","owner":"t1m0thyj","description":"PowerShell scripts that add features to WinDynamicDesktop","archived":false,"fork":false,"pushed_at":"2025-03-10T11:17:29.000Z","size":33,"stargazers_count":96,"open_issues_count":21,"forks_count":21,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-02T04:05:04.023Z","etag":null,"topics":["powershell","registry","windynamicdesktop"],"latest_commit_sha":null,"homepage":"","language":"PowerShell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/t1m0thyj.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2020-01-12T01:29:07.000Z","updated_at":"2025-03-11T14:12:33.000Z","dependencies_parsed_at":"2024-07-27T18:29:44.576Z","dependency_job_id":"2c6b4472-7340-4c87-8cef-acf013d451f6","html_url":"https://github.com/t1m0thyj/WDD-scripts","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/t1m0thyj%2FWDD-scripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/t1m0thyj%2FWDD-scripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/t1m0thyj%2FWDD-scripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/t1m0thyj%2FWDD-scripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/t1m0thyj","download_url":"https://codeload.github.com/t1m0thyj/WDD-scripts/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248054230,"owners_count":21039952,"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":["powershell","registry","windynamicdesktop"],"created_at":"2024-10-11T14:09:34.994Z","updated_at":"2025-04-09T14:06:09.550Z","avatar_url":"https://github.com/t1m0thyj.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WDD-scripts\r\nPowerShell scripts that add features to [WinDynamicDesktop](https://github.com/t1m0thyj/WinDynamicDesktop)\r\n\r\n**Note:** Scripts are a new feature in WinDynamicDesktop 4.0. Click [here](https://github.com/t1m0thyj/WinDynamicDesktop/wiki/Installing-scripts) for instructions on how to install them.\r\n\r\n## Browse Existing Scripts\r\n\r\nSelect a category of scripts to browse:\r\n\r\n* [Stable](/stable#readme)\r\n* [Experimental](/experimental#readme)\r\n* [Other scripts](/other#readme)\r\n\r\n## Create New Scripts\r\n\r\nPowerShell scripts are run by WinDynamicDesktop when the wallpaper image is updated. They are invoked with a JSON object that contains the following parameters:\r\n\r\n* `daySegment2` - 0 = Day, 1 = Night\r\n* `daySegment4` - -1 = N/A, 0 = Sunrise, 1 = Day, 2 = Sunset, 3 = Night\r\n* `themeMode` - 0 = Automatic, 1 = Light Mode, 2 = Dark Mode\r\n* `imagePaths` - List of paths to current wallpaper image for each display\r\n\r\nTo read the values of these parameters, add the line below to the top of your script and access them like this: `$params.daySegment2`\r\n\r\n```powershell\r\n$params = $Input | ConvertFrom-Json\r\n```\r\n\r\nA sample script that uses parameters can be found [here](./SampleScript.ps1). When the sample script is installed and gets run by WinDynamicDesktop, it will display the values of all the parameters.\r\n\r\nIf you create a script and would like to share it with other users of the app, pull requests in this repository are welcome.\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ft1m0thyj%2Fwdd-scripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ft1m0thyj%2Fwdd-scripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ft1m0thyj%2Fwdd-scripts/lists"}