No description
  • Swift 91%
  • Shell 9%
Find a file
2026-10-24 21:35:24 +02:00
Sources initial commit 2026-10-24 21:35:24 +02:00
.gitignore initial commit 2026-10-24 21:35:24 +02:00
build.sh initial commit 2026-10-24 21:35:24 +02:00
Info.plist initial commit 2026-10-24 21:35:24 +02:00
pyneo.png initial commit 2026-10-24 21:35:24 +02:00
README.md initial commit 2026-10-24 21:35:24 +02:00

Flip Clock Screensaver

A macOS screensaver: a split-flap "airport" style clock in pyneo orange on a black screen. The pyneo logo sits off the clock's bottom-right corner, and both jump to a new random spot every 20 seconds.

Features

  • HH:MM split-flap tiles (24-hour) with a flip animation when a digit changes
  • Jumps to a new random position every 20 seconds, always fully on screen
  • Low power: sleeps between events and only redraws when something changes
  • Universal binary (Apple Silicon + Intel), macOS 13 or later

Build and install

Requires the Xcode Command Line Tools (xcode-select --install).

./build.sh            # build to build/FlipClock.saver
./build.sh install    # build and copy to ~/Library/Screen Savers

Then open System Settings → Screen Saver and choose Flip Clock. If an old version still shows, close and reopen System Settings.

Customize

Settings at the top of Sources/FlipClockView.swift:

Setting Default What it does
use24Hour true 24-hour or 12-hour time
flipDuration 0.6 Length of the flip animation (s)
moveInterval 20 Seconds between position jumps
digitColor #F3A900 Digit and colon color

Logo size and distance from the clock are set in logoRect(). Run ./build.sh install after any change.

Files

  • Sources/FlipClockView.swift: the screensaver code
  • Info.plist: bundle info
  • pyneo.png: logo, copied into the bundle at build time
  • build.sh: build and install script

Uninstall

rm -rf ~/Library/Screen\ Savers/FlipClock.saver