Added support for Windows XP wallpapers

This commit is contained in:
dylan araps 2016-01-05 18:30:52 +11:00
parent f6a30f827c
commit eeb53b0de2
1 changed files with 4 additions and 0 deletions

View File

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