Code Monkey home page Code Monkey logo

background-changer's Introduction

OSx Background Changer

This tool, when installed, will grab images from Unsplash. It will the apply different images to the background of each of your desktops, virtual or otherwise once daily at 5 AM. If your computer is asleep at that time, it will run when it wakes up.

How to manually trigger if you want to change images

From a terminal type: launchctl start local.backgroundchanger

Installation

The following instructions presume you have git installed:

  1. Open up a terminal session
  2. Run the following set of commands, move to step 3 when you get a prompt:
cd ~
git clone https://github.com/brainomite/background-changer.git
cd background-changer
chmod u+x background-changer.sh
chmod u+x wait.sh
chmod u+x setup.sh
./setup.sh
  1. When prompted, go to System Preferences" > Desktop & Screen Savers
  2. Ensure that Change Picture is not checked
  3. For each (doesn't have to be every) desktop you wish to have changed automatically daily. Select a picture to be a background, using the + sign on the bottom left of the windows where you can change the desktop. Please note EACH picture must be different, if any two (or more) are the same, they will get the same unsplash image.
  •  If a background reverts (sometimes happens). Just set the image again
    
  1. Press any key in the terminal that is waiting
  2. Shortly you will see your desktop images change
  3. Installation Complete!

How to remove:

Running the following set of commands in the terminal will remove all traces.

cd ~
launchctl unload Library/LaunchAgents/local.backgroundchanger.plist
rm /Users/aaronyoung/Library/LaunchAgents/local.backgroundchanger.plist
rm -fr background-changer

background-changer's People

Contributors

brainomite avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.