mirror of
https://github.com/dylanaraps/pywal.git
synced 2025-08-12 07:39:04 +02:00
wallpaper: Fix wm error
This commit is contained in:
@ -13,7 +13,7 @@ import os
|
|||||||
import platform
|
import platform
|
||||||
|
|
||||||
|
|
||||||
__version__ = "0.7.3"
|
__version__ = "0.7.4"
|
||||||
|
|
||||||
|
|
||||||
HOME = os.getenv("HOME", os.getenv("USERPROFILE"))
|
HOME = os.getenv("HOME", os.getenv("USERPROFILE"))
|
||||||
|
@ -66,7 +66,7 @@ def set_desktop_wallpaper(desktop, img):
|
|||||||
"""Set the wallpaper for the desktop environment."""
|
"""Set the wallpaper for the desktop environment."""
|
||||||
desktop = str(desktop).lower()
|
desktop = str(desktop).lower()
|
||||||
|
|
||||||
if desktop == "WM":
|
if desktop == "wm":
|
||||||
set_wm_wallpaper(img)
|
set_wm_wallpaper(img)
|
||||||
|
|
||||||
elif "xfce" in desktop or "xubuntu" in desktop:
|
elif "xfce" in desktop or "xubuntu" in desktop:
|
||||||
|
Reference in New Issue
Block a user