Skip to content
WebscapeOrgPublic

About

Omarchy integration for Apple T1 hardware through T1Bridge

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

19 Commits

Folders and files

Repository files navigation

Leapfrog

Leapfrog is the integration layer that makes the Apple T1 hardware in the MacBook, a 2017 MacBook Pro running Omarchy, useful through T1Bridge.

Leapfrog does not fork T1Bridge. The upstream packages provide the kernel drivers and hardware services; this repository contains the machine-facing parts built around them:

  • touchbar/ — an Omarchy-themed Touch Bar renderer with media, display and keyboard brightness, audio, screenshots, Escape, Fn/F1–F12, and Touch ID feedback.
  • camera/ — a stable virtual FaceTime camera for applications that cannot consume the T1 camera's native H.264 stream.
  • lock/ — a lock-screen guard that uses Touch ID only while T1Bridge is healthy and stops rapid PAM retries after repeated service failures. It currently targets the installed Lock Screen Explorer clone; see lock/README.md.
  • system/ — the reviewed PAM and module configuration for Touch ID and the virtual camera, and in system/sleep/ the hooks that let the MacBook sleep and wake with USB-C, the Touch Bar and Touch ID working; see system/sleep/README.md.
  • theme-gallery/ — a local browser for checking the Omarchy colors and backgrounds that drive the renderer.
  • bin/leapfrog — one status and maintenance command for the complete setup.

Install the user-owned parts

The upstream T1Bridge, T1Bridge DKMS, T1Bridge-enabled fprintd/libfprint, v4l2loopback, GStreamer, Rust, and standard C build tools must already be installed. T1Bridge 0.1.7 or later is recommended because it limits a failed keybag relay's systemd restart rate. Then run:

./install.sh

The installer builds and selects leapfrog-touchbar, builds the patched camera relay from a pinned upstream revision, enables leapfrog-camera.service, and installs the leapfrog command. It does not use sudo.

The root-owned PAM and module files are documented in system/README.md. Their installer deliberately leaves a root recovery shell open while fingerprint and password fallback are tested.

Status

leapfrog status
leapfrog sleep      # what the sleep hooks did this boot; `leapfrog sleep -1` for the last one

Main machine mirror

The main machine keeps the authoritative clone and copies it only to the MacBook through its ship-sync job. Run hooks/install once in the main machine's clone, and name the sync's systemd user unit in that clone's own Git config, which is never committed:

git config leapfrog.shipSyncUnit <the ship-sync unit for the MacBook>

A Leapfrog commit then starts that sync. The hook does nothing in a clone without the setting, or where the named unit does not exist.

Data boundary

Apple firmware, T1 keybags, fingerprint enrollments, generated wallpaper thumbnails, and credentials are machine state and are never stored here.

Unless a file says otherwise, Leapfrog is MIT licensed. The camera relay patch is GPL-2.0-only because it modifies GPL-2.0-only upstream source. The Touch Bar client attribution is recorded in touchbar/THIRD-PARTY.md.

About

Omarchy integration for Apple T1 hardware through T1Bridge

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages