diff options
| author | Dylan Araps <[email protected]> | 2017-07-31 16:02:56 +1000 |
|---|---|---|
| committer | Dylan Araps <[email protected]> | 2017-07-31 16:02:56 +1000 |
| commit | b49ace129410094e0f715b8131e8c15a53e31836 (patch) | |
| tree | 2e9063232767a20a0bef9c9627579290a1a8fe3a | |
| parent | wallpaper: Use sqlite3 command. (diff) | |
| download | pywal-b49ace129410094e0f715b8131e8c15a53e31836.tar.xz pywal-b49ace129410094e0f715b8131e8c15a53e31836.zip | |
wallpaper: Use string instead of path.
| -rw-r--r-- | pywal/wallpaper.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pywal/wallpaper.py b/pywal/wallpaper.py index 424052a..ba81a71 100644 --- a/pywal/wallpaper.py +++ b/pywal/wallpaper.py @@ -84,7 +84,7 @@ def set_desktop_wallpaper(desktop, img): def set_mac_wallpaper(img): """Set the wallpaper on macOS.""" db_file = HOME / "Library/Application Support/Dock/desktoppicture.db" - subprocess.call(["sqlite3", db_file, f"update data set value = {img}"]) + subprocess.call(["sqlite3", str(db_file), f"update data set value = {img}"]) # Kill the dock to fix issues with wallpapers sharing names. util.disown("killall", "Dock") |