Skip to content

Justme017/Random-Wallpaper-Generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

Random Wallpaper

Description

This project downloads a random high-quality image from Unsplash and sets it as your desktop wallpaper on Windows. It uses the requests library to fetch the image and ctypes to update the wallpaper, providing a simple way to refresh your desktop background.

Requirements

  • Python 3.x
  • Requests (pip install requests)

Usage

  1. Run the script: python Random_Wallpaper.py
  2. The script will download a random image and set it as your desktop wallpaper.

Notes

  • This script is designed for Windows due to the use of ctypes.windll for wallpaper changes.
  • Requires an active internet connection to download the image.
  • The downloaded image is saved as random.jpg in the current directory; it will overwrite any existing file with the same name.
  • If the script fails, check for administrator privileges or internet connectivity.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages