aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Araps <[email protected]>2017-06-17 15:38:24 +1000
committerDylan Araps <[email protected]>2017-06-17 15:38:24 +1000
commit94d3a88b5a8bc86b22bce8d8fa0eec7eb33a395a (patch)
tree74423b9645177532e2cd57a649226e31fbc2a505
parentGeneral: Set the wallpaper (diff)
downloadpywal-94d3a88b5a8bc86b22bce8d8fa0eec7eb33a395a.tar.xz
pywal-94d3a88b5a8bc86b22bce8d8fa0eec7eb33a395a.zip
General: Fix osascript quoting
-rw-r--r--wal.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wal.py b/wal.py
index f3713ed..3129d4c 100644
--- a/wal.py
+++ b/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",