Add next-car-wallpaper.ps1 and next-plane-wallpaper.ps1

This commit is contained in:
Markus 2021-12-12 20:55:38 +01:00
parent 0c9def2bee
commit 8eb51506e7
3 changed files with 31 additions and 1 deletions

View File

@ -91,7 +91,7 @@ When finished say: *"Close tab"* or: *"Computer, close [name] browser"* to close
*"Computer, next [category] wallpaper."*
----------------------------------------
Replaces the desktop background by a random photo from Unsplash, just replace [category] by: `beach`, `city`, or `random`.
Sets a random photo from Unsplash as desktop background, just replace [category] by: `beach`, `car`, `city`, `plane`, or `random`.
*"Computer, open [name] settings."*

View File

@ -0,0 +1,15 @@
<#
.SYNOPSIS
Switches to a car wallpaper
.DESCRIPTION
This script downloads a random car photo and sets it as desktop wallpaper.
.EXAMPLE
PS> ./next-car-wallpaper
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK
https://github.com/fleschutz/PowerShell
#>
& "$PSScriptRoot/next-random-wallpaper.ps1" -Category "car"
exit 0 # success

View File

@ -0,0 +1,15 @@
<#
.SYNOPSIS
Switches to a plane wallpaper
.DESCRIPTION
This script downloads a random plane photo and sets it as desktop wallpaper.
.EXAMPLE
PS> ./next-plane-wallpaper
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK
https://github.com/fleschutz/PowerShell
#>
& "$PSScriptRoot/next-random-wallpaper.ps1" -Category "plane"
exit 0 # success