mirror of
https://github.com/dylanaraps/pywal.git
synced 2024-11-29 11:24:03 +01:00
General: Fix missing import.
This commit is contained in:
parent
583a0c19ad
commit
3d1627f3c7
@ -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)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user