Skip to content

Latest commit

 

History

History
22 lines (19 loc) · 935 Bytes

README.md

File metadata and controls

22 lines (19 loc) · 935 Bytes

Automatic WallPaper Changing script

Requirements

  • python preferably 3, 2 would also do
  • gnome terminal

Get started

  • To get started clone this repo
  • In setEnv.sh update the path of the folder

For me it was "/home/abhirup/Documents/selfProjects/extensionPractice/images/"

  • Go to the terminal and write the following commands
    • pip3 install -r requirements.txt
    • crontab -e

    Think of a time when your computer is almost certain to be connected to the internet
    Add the following line

    • minValue hourValue * * * cd / && main.py && bash setEnv.sh

    For me it was 50 12 * * * cd /home/abhirup/Documents/selfProjects/extensionPractice && /usr/bin/python3 main.py && bash setEnv.sh

Categories

You can also specify if you want images from a particular category or a list of categories python main.py adventures life sports