Skip to content

andredlng/americano

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Americano — Keep your Mac Awake

Americano prevents your Mac from sleeping and (optionally) keeps the display awake. It’s a small, focused menu bar app in the spirit of Caffeine/Lungo.

Requirements

  • macOS 14 or newer
  • Xcode 15 or newer

Features

  • Menu bar toggle: Keep Awake on/off.
  • Presets: Start for 10m, 30m, 1h, 2h, 5h, or indefinitely.
  • Start Default: uses your chosen default duration.
  • Allow display to sleep while keeping the Mac awake (Advanced).
  • Activate at app launch (General).
  • Deactivate when switching to battery (Advanced, opt‑in).
  • Shortcuts support (Toggle, Activate, Activate for minutes, Deactivate).
  • Single instance only (prevents launching multiple copies).

Settings

  • General
    • Launch at login
    • Activate at launch
  • Advanced
    • Default duration
    • Allow display to sleep while keeping computer awake
    • Deactivate when switching to battery

Build & Run

  1. Open Americano.xcodeproj in Xcode.
  2. Select the Americano scheme and Run.

Notes

  • Americano runs as a menu bar app (LSUIElement=1). Use the cup icon in the menu bar to control it.
  • Sleep prevention uses IOKit power assertions: NoDisplaySleep (keeps screen on) or NoIdleSleep (allows screen sleep), based on the Advanced setting.

About

MIRROR - Keep your Mac Awake

Resources

Stars

Watchers

Forks

Languages