mirror of
https://github.com/dylanaraps/pywal.git
synced 2024-11-25 17:33:09 +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,8 +27,8 @@ 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)
|
||||||
|
|
||||||
|
|
||||||
def set_desktop_wallpaper(desktop, img):
|
def set_desktop_wallpaper(desktop, img):
|
||||||
|
Loading…
Reference in New Issue
Block a user