mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-01-22 21:58:42 +01:00
Update the wallpaper scripts
This commit is contained in:
parent
1d17a5a891
commit
9ce6a1e06f
@ -6,7 +6,7 @@
|
||||
.PARAMETER ImageFile
|
||||
Specifies the path to the image file
|
||||
.PARAMETER Style
|
||||
Specifies either Fill, Fit (default), Stretch, Tile, Center, or Span
|
||||
Specifies either Fill, Fit, Stretch, Tile, Center, or Span (default)
|
||||
.EXAMPLE
|
||||
PS> ./set-wallpaper C:\ocean.jpg
|
||||
.NOTES
|
||||
@ -15,7 +15,7 @@
|
||||
https://github.com/fleschutz/PowerShell
|
||||
#>
|
||||
|
||||
param([string]$ImageFile = "", [string]$Style = "Fit")
|
||||
param([string]$ImageFile = "", [string]$Style = "Span")
|
||||
|
||||
function SetWallPaper {
|
||||
param([string]$Image, [ValidateSet('Fill', 'Fit', 'Stretch', 'Tile', 'Center', 'Span')][string]$Style)
|
||||
|
@ -4,7 +4,7 @@
|
||||
.DESCRIPTION
|
||||
This script download a random photo and sets it as desktop wallpaper.
|
||||
.PARAMETER Style
|
||||
Specifies either Fill, Fit (default), Stretch, Tile, Center, or Span
|
||||
Specifies either Fill, Fit, Stretch, Tile, Center, or Span (default)
|
||||
.EXAMPLE
|
||||
PS> ./switch-wallpaper
|
||||
.NOTES
|
||||
|
Loading…
Reference in New Issue
Block a user