mirror of
https://github.com/dylanaraps/pywal.git
synced 2024-12-01 20:33:51 +01:00
wallpaper: Supress errors on xfce
This commit is contained in:
parent
f582e9ad7f
commit
2a611a7439
4
wal
4
wal
@ -364,8 +364,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."""
|
||||||
subprocess.Popen(["xfconf-query", "--channel", "xfce4-desktop",
|
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