From 6736a954d6d38e47f45b881c068cbac1c7466203 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Mon, 19 Jun 2017 12:24:39 +1000 Subject: [PATCH] Wallpaper: Fix osascript string --- wal.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wal.py b/wal.py index 4b53b92..6c8bb5c 100644 --- a/wal.py +++ b/wal.py @@ -311,7 +311,7 @@ def set_wallpaper(img): elif OS == "Darwin": Popen(["osascript", "-e", "'tell application \"Finder\" to set \ - desktop picture to POSIX file\'", img, "\'"]) + desktop picture to POSIX file\'" + img + "\'"]) else: Popen(["gsettings", "set", "org.gnome.desktop.background",