libdesktop.wallpaper
A module for getting and setting the desktop wallpaper.
Supports Windows (7+), OS X and 99% of Linux desktops.
-
libdesktop.wallpaper.
get_wallpaper
()[source]
Get the desktop wallpaper.
Get the current desktop wallpaper.
Returns: | The path to the current wallpaper. |
Return type: | str |
-
libdesktop.wallpaper.
set_wallpaper
(image)[source]
Set the desktop wallpaper.
Sets the desktop wallpaper to an image.
Parameters: | image (str) – The path to the image to be set as wallpaper. |