Fix OS X wallpaper detectiob

This commit is contained in:
Dylan 2016-03-29 11:40:30 +11:00
parent 2c881c11f5
commit d1a8fb9037
1 changed files with 1 additions and 1 deletions

View File

@ -1778,7 +1778,7 @@ getwallpaper () {
;;
"Mac OS X")
img="$(osascript -e 'tell app "finder" to get posix path of (get desktop picture as text)')"
img="$(osascript -e 'tell application "System Events" to picture of current desktop')"
;;
"Windows")