Skip to content

bailitaotao/cleanlock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cleanlock icon

Cleanlock

A minimal macOS cleaning utility

Cleanlock turns your screen black and temporarily blocks keyboard input so you can wipe your MacBook screen and keyboard without accidental key presses.

[English] | 简体中文 | 日本語


Interface

Interface

System Requirements

macOS Tahoe 26.0 or later

I really like Liquid Glass d(^_^o)

Download

Download the latest release from the Releases page.

There is also a prebuilt legacy package with minimum support down to macOS 12, but it will no longer receive updates and the experience is a bit worse: Cleanlock.1.1.0-legacy.dmg

Build For Older Systems

If your macOS version is not that old and you just do not want the Liquid Glass style, you can still modify the project and build it yourself:

  1. Open these three files:
  • ContentView.swift
  • CleaningOverlayView.swift
  • AccessibilityPermissionView.swift
  1. Replace the button styles with ones available on older systems:
    • Change every glass button style used in .buttonStyle(...) to bordered
  2. In Xcode, select the project (cleanlock) in the left Project Navigator
  3. Open the General tab and change Minimum Deployments to your target macOS version

License

This project is released under the MIT License. See LICENSE for details.

About

帮助你擦拭 MacBook 时锁定键盘输入并熄灭屏幕。Lock keyboard and turn off screen while cleanning your MacBook.

Topics

Resources

License

Stars

5 stars

Watchers

0 watching

Forks

Contributors

Languages