Skip to content

Latest commit

 

History

History
45 lines (25 loc) · 1000 Bytes

README.md

File metadata and controls

45 lines (25 loc) · 1000 Bytes

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