Skip to content

About

MacBook lid-fold like iPhone Duo — Glass and Duo+ driven by the real hinge.

Topics

Resources

Stars

7 stars

Watchers

0 watching

Forks

Repository files navigation

Linger

Linger

English · Русский

Download Build

Close the lid. The screen stays in the room.

The iPhone Duo lid-fold, on a MacBook — driven by the real hinge, not a cut between screens.

Download the latest release →

Glass
Freeze one frame. Recede.

Glass lid-fold on a MacBook

Duo+
Live desktop. Warped around the hinge.

Duo+ lid-fold on a MacBook

Close a MacBook and the picture usually just dies. Linger keeps it on a 3D pane that follows the lid — Glass freezes a frame, Duo+ keeps the live desktop and folds it around the hinge, Frost pins that picture in the room and milks it as the lid sweeps through.

Opens like System Settings. Close the window and it leaves the Dock; the fold keeps running from the menu bar extra.

The UI follows the system language: English or Russian.

Three looks

  • Glass — one frozen frame, then a receding pane.
  • Duo+ — live desktop, hinged sheet, lean and perspective.
  • Frost — same live picture, world-locked, soft frost toward the far edge.

Pick one in Look. Overlay stays on the built-in Liquid Retina display.

Linger Look settings

Use

  1. Download or build and launch.
  2. Grant Screen Recording when macOS asks.
  3. Close the lid slowly — or hit Preview.
  4. Close the window to hide the Dock icon. Quit from the menu bar extra so capture stops.

Needs a MacBook with a lid-angle sensor (recent Apple silicon), macOS 15+, and Screen Recording. Capture runs only while the fold is visible.

Build

xcodebuild -project MacBookDuo.xcodeproj -scheme MacBookDuo -configuration Debug

Sign with Apple Development so Screen Recording survives rebuilds. Ad-hoc signing (CODE_SIGN_IDENTITY = "-") makes TCC treat every build as a new app. If you clone the repo, set DEVELOPMENT_TEAM on the target to your team.

Releases

GitHub Actions builds every push to main. A GitHub Release ships only when the tip commit contains [RELEASE].

CI ships a drag-to-Applications DMG (ad-hoc signed). Gatekeeper may block the first launch: right-click → Open. For daily use, build locally with your Apple Development identity.

How it works

The hinge is a real HID sensor. ScreenCaptureKit grabs the built-in display; Metal draws the fold. Glass freezes one frame and stops. Duo+ and Frost stay live and warp that picture around the lid.

Capture never leaves the Mac. It is excluded from this app’s own windows and torn down on quit.

License

MIT. See NOTICE for trademark notes. Not affiliated with Apple.

About

MacBook lid-fold like iPhone Duo — Glass and Duo+ driven by the real hinge.

Topics

Resources

Stars

7 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages