mirror of
https://github.com/dylanaraps/pywal.git
synced 2025-05-20 16:20:53 +02: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":
|
elif OS == "Darwin":
|
||||||
call(["osascript", "-e", "'tell application \"Finder\" to set \
|
call(["osascript", "-e", "'tell application \"Finder\" to set \
|
||||||
desktop picture to POSIX file \"'\"", img, "\""])
|
desktop picture to POSIX file\'", img, "\'"])
|
||||||
|
|
||||||
else:
|
else:
|
||||||
call(["gsettings", "set", "org.gnome.desktop.background",
|
call(["gsettings", "set", "org.gnome.desktop.background",
|
||||||
|
Loading…
Reference in New Issue
Block a user