diff --git a/fetch.sh b/fetch.sh index 63d1adce..0bbcb328 100755 --- a/fetch.sh +++ b/fetch.sh @@ -622,7 +622,8 @@ getwallpaper () { "Windows") case "$distro" in "Windows XP") - img="/cygdrive/c/Documents and Settings/${USER}/Local Settings/Application Data/Microsoft/Wallpaper1.bmp" + path="C:\\Documents and Settings\\${USER}\\Local Settings\\Application Data\\Microsoft\\Wallpaper1.bmp" + img="$(cygpath -u "${path}")" ;; "Windows"*)