mirror of
https://github.com/dylanaraps/pywal.git
synced 2025-01-23 06:18:35 +01:00
General: Fix osascript quoting
This commit is contained in:
parent
39e077c68b
commit
94d3a88b5a
2
wal.py
2
wal.py
@ -203,7 +203,7 @@ def set_wallpaper(img):
|
||||
|
||||
elif OS == "Darwin":
|
||||
call(["osascript", "-e", "'tell application \"Finder\" to set \
|
||||
desktop picture to POSIX file \"'\"", img, "\""])
|
||||
desktop picture to POSIX file\'", img, "\'"])
|
||||
|
||||
else:
|
||||
call(["gsettings", "set", "org.gnome.desktop.background",
|
||||
|
Loading…
Reference in New Issue
Block a user