From d1a8fb9037583c6932b2494ce1cdf8956f8fe7c6 Mon Sep 17 00:00:00 2001 From: Dylan Date: Tue, 29 Mar 2016 11:40:30 +1100 Subject: [PATCH] Fix OS X wallpaper detectiob --- neofetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neofetch b/neofetch index 3cdabf37..c4b16ff6 100755 --- a/neofetch +++ b/neofetch @@ -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")