Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # $selectedFile = Get-ChildItem -Recurse -File -Include *.png,*.jpg,*.jpeg,*.svg | ForEach-Object { $_.FullName } | fzf
- $selectedFile = Get-ChildItem -Depth 3 -File -Include *.png,*.jpg,*.jpeg,*.svg | ForEach-Object { $_.FullName } | fzf
- if ($selectedFile) {
- Write-Output $selectedFile
- # Assuming `wallpaper` is a valid command to set the wallpaper, use the following line:
- wallpaper $selectedFile
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement