General: Fix missing import.

This commit is contained in:
Dylan Araps 2017-06-26 12:13:05 +10:00
parent 583a0c19ad
commit 3d1627f3c7

View File

@ -3,6 +3,8 @@ import os
import shutil
import subprocess
from pywal import util
def get_desktop_env():
"""Identify the current running desktop environment."""
@ -25,8 +27,8 @@ def get_desktop_env():
def xfconf(path, img):
"""Call xfconf to set the wallpaper on XFCE."""
disown("xfconf-query", "--channel", "xfce4-desktop",
"--property", path, "--set", img)
util.disown("xfconf-query", "--channel", "xfce4-desktop",
"--property", path, "--set", img)
def set_desktop_wallpaper(desktop, img):