mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-02-23 05:01:37 +01:00
Add next-nature-wallpaper.ps1 and next-space-wallpaper.ps1
This commit is contained in:
parent
8eb51506e7
commit
d15a5e5af3
@ -91,7 +91,7 @@ When finished say: *"Close tab"* or: *"Computer, close [name] browser"* to close
|
||||
|
||||
*"Computer, next [category] wallpaper."*
|
||||
----------------------------------------
|
||||
Sets a random photo from Unsplash as desktop background, just replace [category] by: `beach`, `car`, `city`, `plane`, or `random`.
|
||||
Sets a random photo from Unsplash as desktop background, just replace [category] by: `beach`, `car`, `city`, `nature`, `plane`,`random`, or `space`.
|
||||
|
||||
|
||||
*"Computer, open [name] settings."*
|
||||
|
15
Scripts/next-nature-wallpaper.ps1
Normal file
15
Scripts/next-nature-wallpaper.ps1
Normal file
@ -0,0 +1,15 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Switches to a nature wallpaper
|
||||
.DESCRIPTION
|
||||
This script downloads a random nature photo and sets it as desktop wallpaper.
|
||||
.EXAMPLE
|
||||
PS> ./next-nature-wallpaper
|
||||
.NOTES
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
#>
|
||||
|
||||
& "$PSScriptRoot/next-random-wallpaper.ps1" -Category "nature"
|
||||
exit 0 # success
|
15
Scripts/next-space-wallpaper.ps1
Normal file
15
Scripts/next-space-wallpaper.ps1
Normal file
@ -0,0 +1,15 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Switches to a space wallpaper
|
||||
.DESCRIPTION
|
||||
This script downloads a random space photo and sets it as desktop background.
|
||||
.EXAMPLE
|
||||
PS> ./next-space-wallpaper
|
||||
.NOTES
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
#>
|
||||
|
||||
& "$PSScriptRoot/next-random-wallpaper.ps1" -Category "space"
|
||||
exit 0 # success
|
Loading…
Reference in New Issue
Block a user