1
0
mirror of https://github.com/dylanaraps/pywal.git synced 2025-07-18 14:54:29 +02:00

wallpaper: Fix quotes

This commit is contained in:
Dylan Araps
2017-07-31 15:19:58 +10:00
parent 9f1d8bffe0
commit 3540645a32

@ -83,9 +83,8 @@ def set_desktop_wallpaper(desktop, img):
def set_mac_wallpaper(img): def set_mac_wallpaper(img):
"""Set the wallpaper on macOS.""" """Set the wallpaper on macOS."""
subprocess.call(["osascript", "tell", "application", "\"Finder\"", subprocess.call(["osascript", "tell", "application", "Finder", "set",
"set", "desktop", "picture", "to", "POSIX", "file", "desktop", "picture", "to", "POSIX", "file", img])
f"\"{img}\""])
def change(img): def change(img):