diff options
| -rw-r--r-- | pywal/wallpaper.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/pywal/wallpaper.py b/pywal/wallpaper.py index fc7f5cd..e5e619e 100644 --- a/pywal/wallpaper.py +++ b/pywal/wallpaper.py @@ -83,9 +83,8 @@ def set_desktop_wallpaper(desktop, img): def set_mac_wallpaper(img): """Set the wallpaper on macOS.""" - subprocess.call(["osascript", "tell", "application", "\"Finder\"", - "set", "desktop", "picture", "to", "POSIX", "file", - f"\"{img}\""]) + subprocess.call(["osascript", "tell", "application", "Finder", "set", + "desktop", "picture", "to", "POSIX", "file", img]) def change(img): |