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 shutil
import subprocess import subprocess
from pywal import util
def get_desktop_env(): def get_desktop_env():
"""Identify the current running desktop environment.""" """Identify the current running desktop environment."""
@ -25,7 +27,7 @@ def get_desktop_env():
def xfconf(path, img): def xfconf(path, img):
"""Call xfconf to set the wallpaper on XFCE.""" """Call xfconf to set the wallpaper on XFCE."""
disown("xfconf-query", "--channel", "xfce4-desktop", util.disown("xfconf-query", "--channel", "xfce4-desktop",
"--property", path, "--set", img) "--property", path, "--set", img)