mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-02-17 02:01:01 +01:00
Add next-car-wallpaper.ps1 and next-plane-wallpaper.ps1
This commit is contained in:
parent
0c9def2bee
commit
8eb51506e7
@ -91,7 +91,7 @@ When finished say: *"Close tab"* or: *"Computer, close [name] browser"* to close
|
|||||||
|
|
||||||
*"Computer, next [category] wallpaper."*
|
*"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."*
|
*"Computer, open [name] settings."*
|
||||||
|
15
Scripts/next-car-wallpaper.ps1
Normal file
15
Scripts/next-car-wallpaper.ps1
Normal 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
|
15
Scripts/next-plane-wallpaper.ps1
Normal file
15
Scripts/next-plane-wallpaper.ps1
Normal 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
|
Loading…
Reference in New Issue
Block a user