Repository navigation
SimpleToggle 2.0.0
The first release of SimpleToggle: turn any script into a managed menu bar switch on macOS.
Highlights
- New design — a quiet black-and-white interface where one signal color marks what is on or running, with dot-matrix status marks, Geist type, six palettes and a new icon
- Buttons — a new
actionswitch type that runs once per press and shows progress and the result - Workbench — a code editor whose header stays in sync with an inspector, test runs with live output, run history and a library of ready-made scripts
- Scenes — set several switches in one click, and restore them with another
- Automations — by time, Wi-Fi network, power, apps, displays, login / wake / unlock, file changes or shortcuts
- Global shortcuts for switches, scenes, the panel and the workbench
- Activity — usage statistics and every run with its source, duration, exit code and output
- Safe to quit — quitting explains what happens to the switches that are on; after a crash, long-running switches are stopped right away and restored at the next launch
- AI — per-capability permissions for AI agents, approval of script changes with a diff, one-click setup for Claude Code, Cursor and Codex, new MCP tools
- Deep links —
simpletoggle://for Shortcuts, Raycast and Alfred - Automatic updates, verified with an Ed25519 signature before they are installed
Install
brew install --cask hanlunwang/tap/simpletoggleor download the disk image below. Requires macOS 14 or later.
中文说明
SimpleToggle 的第一个正式版本:把任何脚本变成 macOS 菜单栏里受管理的开关。
- 全新设计——安静的黑白界面,唯一的信号色只标出开启与运行中的东西;点阵状态记号、Geist 字体、六套配色和新图标
- 按钮——新的
action类型:按一次运行一次,显示运行中与结果 - 工作台——契约头与检查器双向同步的代码编辑器、带实时输出的测试、运行历史和现成脚本库
- 场景——一键设置多个开关,再点一次恢复
- 自动化——按时间、Wi-Fi、电源、应用、显示器、登录 / 唤醒 / 解锁、文件变化或快捷键触发
- 全局快捷键——开关、场景、面板与工作台
- 活动——用量统计,以及每次运行的来源、耗时、退出码与输出
- 安全退出——退出时说明开着的开关会怎样;崩溃后立即停止常驻开关,下次启动时恢复
- AI——分项控制 AI 权限,AI 改脚本以差异对比展示、确认后才写入,一键接入 Claude Code、Cursor、Codex,新增 MCP 工具
- 深链接——
simpletoggle://,可在快捷指令、Raycast、Alfred 中使用 - 自动更新,安装前校验 Ed25519 签名
安装: brew install --cask hanlunwang/tap/simpletoggle,或下载下方的磁盘映像。需要 macOS 14 或更新版本。