Update wallpaper support for windows

This commit is contained in:
dylan araps 2016-01-05 18:42:27 +11:00
parent eeb53b0de2
commit cd928cae22
1 changed files with 2 additions and 2 deletions

View File

@ -622,10 +622,10 @@ getwallpaper () {
;;
"Windows XP")
img="C:/Documents and Settings/${USER}/Local Settings/Application Data/Microsoft/Wallpaper1.bmp"
img="C:/Documents\ and\ Settings/${USER}/Local\ Settings/Application\ Data/Microsoft/Wallpaper1.bmp"
;;
"Windows"*)
"Windows 7"|"Windows 8"|"Windows 8.1"|"Windows 10")
img="%AppData%/Microsoft/Windows/Themes/TranscodedWallpaper.jpg"
;;