Xpaper

Cross platform library for managing desktop wallpaper


Keywords
background-image, desktop, linux, python, wallpaper, windows
License
MIT
Install
pip install Xpaper==0.2.0

Documentation

Xpaper version downloads License: MIT issues build

Cross-platform library for changing desktop wallpaper

Works on windows and Linux

Supports all versions of Python

Install

$ pip install xpaper

Usage

from xpaper import wallpaper

wallpaper.change("C:/Users/Spatocode/wallpaper.jpg")    # absolute path to the image

wallpaper.get()     # "/Users/Spatocode/wallpaper.jpg"

API

.change(imagepath)

Changes the desktop wallpaper

imagepath

Type: string

an absolute path to the image

.get()

Returns the path of the current desktop wallpaper.

LICENSE

MIT License

Copyright (c) 2019 Ekene Izukanne