mirror of
https://github.com/dylanaraps/pywal.git
synced 2024-11-08 00:54:07 +01:00
wallpaper: Fix quotes
This commit is contained in:
parent
9f1d8bffe0
commit
3540645a32
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user