Crescent Moon macOS亮度与夜间模式调节工具

夜间办公的好搭档——菜单栏里的小月亮工具挺实用的。Crescent Moon整合了 macOS 的DimnessNight Shift功能,用起来比系统自带的还方便。一键调亮度、改色温,晚上写代码眼睛真的省事多了。

菜单栏的小控件,直接调节屏幕亮度,不用打开系统设置那么麻烦。尤其是Dimness功能,暗环境下开个低亮模式,眼睛舒服不少。你也可以设定亮度百分比,细节控制挺贴心。

Night Shift 的集成也顺滑,直接从菜单栏切换暖色调。晚上看屏幕不刺眼,睡前赶稿子也不影响作息。这功能对夜猫子程序员太友好了,蓝光少一点,睡得稳一点。

整个应用是用Swift开发的,UI 响应快,操作流畅。用过 Touch Bar 的话还能直接在上面控制亮度和色温,点一下就搞定,挺方便。支持到 macOS Catalina,老机器也没问题。

要是你有用 Xcode 写过菜单栏应用,研究下这个项目也挺有意思的。结构清晰,交互设计也蛮合理的,适合新手练手或者老手参考下实现逻辑。

如果你经常夜里加班、看片、写代码,可以试试Crescent Moon。不用装大堆工具,一个菜单栏控件就搞定了亮度和色温的事,轻巧又好用。

zip
nocturnal-master.zip 预估大小:65个文件
folder
nocturnal-master 文件夹
file
.gitignore 2KB
folder
Nocturnal.xcworkspace 文件夹
folder
xcshareddata 文件夹
file
IDEWorkspaceChecks.plist 238B
file
contents.xcworkspacedata 155B
file
LICENSE 34KB
folder
stylesheets 文件夹
file
github-light.css 3KB
file
normalize.css 8KB
file
stylesheet.css 6KB
folder
.github 文件夹
file
FUNDING.yml 44B
file
donate.svg 9KB
folder
Docs 文件夹
folder
Illustrator 文件夹
file
app-icon.ai 4.48MB
file
app-icon-catalina.ai 1.68MB
file
Menu-icon.ai 1.61MB
folder
Images 文件夹
file
Nocturnal-Screenshot.png 297KB
file
nocturnal-social-image.png 1.12MB
file
README.md 2KB
file
Cartfile.resolved 85B
file
Cartfile 68B
file
index.html 4KB
file
params.json 2KB
folder
Nocturnal 文件夹
folder
Utils 文件夹
file
Shortcuts.swift 3KB
file
NightShift.swift 1KB
file
Utils.swift 3KB
file
StateManager.swift 3KB
file
Dimness.swift 1KB
folder
Headers 文件夹
file
TouchBarPrivateApi.h 1KB
file
CBBlueLightClient.h 941B
file
Nocturnal-Bridging-Header.h 268B
file
Info.plist 1KB
folder
Application 文件夹
folder
Preferences 文件夹
file
HyperLinkTextField.swift 956B
file
PreferencesViewController.swift 2KB
file
AboutViewController.swift 583B
folder
Menu 文件夹
file
NightShiftSliderView.swift 731B
file
DimnessSliderView.swift 515B
file
MenuController.swift 8KB
folder
Dimness 文件夹
file
DimnessWindowController.swift 1KB
folder
Main 文件夹
folder
Base.lproj 文件夹
file
Main.storyboard 115KB
file
AppDelegate.swift 2KB
folder
Extensions 文件夹
file
NSWindow+Fade.swift 1KB
folder
TouchBar 文件夹
file
TouchBar.swift 990B
folder
Custom Time 文件夹
file
CustomTimeViewController.swift 2KB
file
Nocturnal.entitlements 311B
folder
Assets.xcassets 文件夹
folder
AppIcon.appiconset 文件夹
file
Icon-App-256x256@2x-1.png 33KB
file
Icon-App-32x32@1x.png 1KB
file
Icon-App-128x128@2x-1.png 15KB
file
Icon-App-512x512@2x-1.png 77KB
file
Icon-App-32x32@2x.png 3KB
file
Icon-App-128x128@1x.png 7KB
file
Icon-App-16x16@2x-1.png 1KB
file
Icon-App-16x16@1x.png 682B
file
Contents.json 1KB
file
Icon-App-512x512@1x.png 33KB
file
Icon-App-256x256@1x.png 15KB
folder
donate.imageset 文件夹
file
donate.png 3KB
file
Contents.json 304B
folder
AppIconImage.imageset 文件夹
file
Icon-App-128x128@1x.png 7KB
file
Contents.json 316B
file
Contents.json 62B
folder
StatusBarButtonImage.imageset 文件夹
file
Icon-Menu-Bar-32x32@1x.png 568B
file
Contents.json 486B
file
Icon-Menu-Bar-16x16@1x.png 333B
file
Icon-Menu-Bar-64x64@1x.png 1KB
folder
Nocturnal.xcodeproj 文件夹
folder
xcshareddata 文件夹
folder
xcschemes 文件夹
file
Nocturnal.xcscheme 3KB
folder
project.xcworkspace 文件夹
folder
xcshareddata 文件夹
file
IDEWorkspaceChecks.plist 238B
file
contents.xcworkspacedata 191B
file
project.pbxproj 28KB
...
zip 文件大小:8.67MB