Fix OS X wallpaper detectiob

This commit is contained in:
Dylan 2016-03-29 11:40:30 +11:00
parent 2c881c11f5
commit d1a8fb9037

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")