Daily lock screen wallpaper from one or several subreddits.
- Windows 10 or 11, build 1703 (Creators Update) or later
- Powershell 5+
- Admin rights
In a Powershell console with elevated rights:
Set-ExecutionPolicy Unrestricted -Scope Process Install-Module -Name WarplanepornLockscreen WarplanepornLockscreen -install This will download the module from PowerShell Gallery and install it on your machine.
When installed, the script will launch once a day and set a new wallpaper (given your machine is running and connected to the internet).
For your convenience, WarplanepornLockscreen has an alias : WPP-LS!
WPP-LS [-subreddits sub1[,sub2[...]]] [-nsfw] [-sort top|hot|new] WarplanepornLockscreen -config You can also add or remove one subreddit at a time from the configuration :
WarplanepornLockscreen -add subreddit WarplanepornLockscreen -remove subreddit To see which subreddits are currently configured, use
WarplanepornLockscreen -list WarplanepornLockscreen -showpic WarplanepornLockscreen -showlog WarplanepornLockscreen -save WarplanepornLockscreen -showSaved In a Powershell console with elevated rights:
Set-ExecutionPolicy Unrestricted -Scope Process WarplanepornLockscreen -uninstall - Check for updates
- Adapt for desktop background (same thing, different registry key)
Feel free to help !
This code is licensed under the MIT license. Fell free to use it as you wish!