Fix wallpaper on Windows
This commit is contained in:
parent
cd928cae22
commit
528296626c
1 changed files with 11 additions and 9 deletions
20
fetch.sh
20
fetch.sh
|
@ -621,16 +621,18 @@ getwallpaper () {
|
||||||
img=${img%*\'}
|
img=${img%*\'}
|
||||||
;;
|
;;
|
||||||
|
|
||||||
"Windows XP")
|
"Windows")
|
||||||
img="C:/Documents\ and\ Settings/${USER}/Local\ Settings/Application\ Data/Microsoft/Wallpaper1.bmp"
|
case "$distro" in
|
||||||
;;
|
"Windows XP")
|
||||||
|
cd c: || wall="off"
|
||||||
|
img="Documents\ and\ Settings/${USER}/Local\ Settings/Application\ Data/Microsoft/Wallpaper1.bmp"
|
||||||
|
cd - >/dev/null
|
||||||
|
;;
|
||||||
|
|
||||||
"Windows 7"|"Windows 8"|"Windows 8.1"|"Windows 10")
|
"Windows"*)
|
||||||
img="%AppData%/Microsoft/Windows/Themes/TranscodedWallpaper.jpg"
|
img="%AppData%/Microsoft/Windows/Themes/TranscodedWallpaper.jpg"
|
||||||
;;
|
;;
|
||||||
|
esac
|
||||||
*)
|
|
||||||
wall="off"
|
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue