mirror of
https://github.com/dylanaraps/pywal.git
synced 2024-11-25 17:33:09 +01:00
Wallpaper: Fix osascript string
This commit is contained in:
parent
fef3bc888a
commit
6736a954d6
2
wal.py
2
wal.py
@ -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",
|
||||||
|
Loading…
Reference in New Issue
Block a user