{"repo":"ddasy/SleepBar","free":true,"listed":false,"github":"https://github.com/ddasy/SleepBar","clone":"git clone https://github.com/ddasy/SleepBar.git","description":"🌙 Instantly switch macOS screen timeout from your menu bar — no more digging through System Settings. Preset timers, instant lock, keep awake, display off, or auto re-lock after you step away. Perfect for meetings, cafés & shared workspaces. 菜单栏一键切换屏幕超时，不用再翻系统设置：预设倒计时、立即锁屏、保持唤醒、熄屏、离开自动重锁。开会、咖啡厅、共享办公必备。","language":"Swift","stars":21,"topics":["appkit","auto-lock","caffeinate","display-sleep","keep-awake","macos","macos-app","menu-bar","menubar","productivity"],"license":"MIT","category":"productivity","readme_excerpt":"🌙 SleepBar A lightweight macOS menu bar timer that locks, dims, or sleeps your Mac after a countdown. Set a screen-off timer before bed — give your Mac one last task and let it auto-lock or sleep when time's up. English · 简体中文 --- What is this? Before going to sleep you often want to leave your Mac running for a little longer — until a script finishes, an AI agent completes a task, or a download wraps up. But the macOS \"turn display off\" delay is a fixed setting: 5 minutes this time, 1 hour the next — and changing it means digging into System Settings every single time. SleepBar moves that control to your menu bar. Click the icon, pick a duration, and your screen stays awake for exactly that long. When the countdown ends, your Mac automatically locks, turns off the display, or even goes to sleep — whatever you chose. Your task finishes, and your Mac rests. No system settings are modified and no sudo is required. The moment the timer ends, everything returns to normal. ✨ Features - ⏱️ Countdown screen-off — presets of 5 / 10 / 15 / 30 min, 1 hour, or any custom duration . The remaining time ticks live in the menu bar. - ⚡ Now — skip the countdown and run your chosen action (lock / turn off display / sleep) immediately, in one click. - 🔒 Lock screen — lock to the login window when time's up. - 🖥️ Turn off display — lock and power down the display to save energy. - 💤 Sleep — put the whole Mac to sleep when the timer ends. - ♾️ Keep awake forever (Never) — one click to keep t","default_branch":null,"files":null,"tree":[],"storefront":"/r/ddasy","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ddasy/SleepBar/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}