Skip to content

burnsra/ScreenSaverTemplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ScreenSaverTemplate

Overview

ScreenSaverTemplate is a MacOS screen saver written in objective-c. The example HTML content is based upon octoscreen, referenced in the acknowledgements section below. This screen saver template provides the following features:

  • Sample HTML based screen saver
  • Sample preferences screen for screen saver
  • Screen saver preview during development utilizing runner target

Customizing

Replace the instance of "newScreenSaverName" in the first line below with your desired project name.

$ export newScreenSaverName="Custom ScreenSaver"
$ export newScreenSaverNameClass="${newScreenSaverName//[[:blank:]]/}"
$ git clone https://github.com/burnsra/ScreenSaverTemplate.git "$newScreenSaverName"
$ cd "$newScreenSaverName"
$ find . -path "*.git*" -prune -o -not -name "*.png" -type f -print0 | xargs -0 sed -i "" "s/ScreenSaverTemplate/$newScreenSaverNameClass/g"
$ find . -path "*.git*" -prune -o -not -name "*.png" -type f -print0 | xargs -0 sed -i "" "s/ScreenSaver Template/$newScreenSaverName/g"
$ find . -type d -name "ScreenSaverTemplate*" | sed -e "p;s/ScreenSaverTemplate/$newScreenSaverNameClass/g" | xargs -n2 git mv
$ find . -type f -name "ScreenSaverTemplate*" | sed -e "p;s/ScreenSaverTemplate/$newScreenSaverNameClass/g" | xargs -n2 git mv
$ git add -A
$ git commit -m "Renamed template screen saver project to "$newScreenSaverName
$ unset newScreenSaverName

Acknowledgements

Contributions

Do you want to improve the app or add any useful features? Please go ahead and create pull requests. I'm thankful for any help.

License

MIT © Robert Burns

About

macOS screen saver template written in objective-c

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published