Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
BGFetch.xcodeproj
Sources
.gitignore
Package.swift
README.md
dk.stjernegard.bgfetch.plist.example

README.md

BGFetch

This is the script I use to have my desktop background rotate through images submitted to /r/EarthPorn.

If you want to use it, you need a working Swift environment first.

  1. Change the OutputDir path in Sources/Settings.swift

  2. Build the script with swift build -c release

  3. Use launchd to run the service.

  • Edit dk.stjernegard.bgfetch.plist.example to your liking. Remember to change the Program path.
  • mv dk.stjernegard.bgfetch.plist.example ~/Library/LaunchAgents/dk.stjernegard.bgfetch.plist
  • launchctl load dk.stjernegard.bgfetch.plist
  1. Use the OutputDir folder as source for your desktop background and let it autorotate as much as you want.
You can’t perform that action at this time.