Wallpaper: Fix osascript string

This commit is contained in:
Dylan Araps 2017-06-19 12:24:39 +10:00
parent fef3bc888a
commit 6736a954d6

2
wal.py
View File

@ -311,7 +311,7 @@ def set_wallpaper(img):
elif OS == "Darwin": elif OS == "Darwin":
Popen(["osascript", "-e", "'tell application \"Finder\" to set \ Popen(["osascript", "-e", "'tell application \"Finder\" to set \
desktop picture to POSIX file\'", img, "\'"]) desktop picture to POSIX file\'" + img + "\'"])
else: else:
Popen(["gsettings", "set", "org.gnome.desktop.background", Popen(["gsettings", "set", "org.gnome.desktop.background",