Skip to content

mdsakalu/barista

Repository files navigation

Barista

A menu bar app that wraps /usr/bin/caffeinate for quick keep-awake control

Barista inactive Barista active
Inactive Active with countdown

Features

  • Toggle caffeinate assertions with plain-English hints
  • Session modes: Manual, Duration (with countdown), Wait for PID, Command
  • PID picker with running process names
  • Settings persist via @AppStorage
  • Live menu bar countdown while running a timed session

Install

Homebrew

brew tap mdsakalu/tap
brew install --cask barista

Tip: To install without sudo, add --appdir=~/Applications

Manual

Download Barista-macos.zip from Releases, unzip, and drag Barista.app to Applications.

Build

swift build -c release
scripts/package_app.sh build

The packaged app will be at build/Barista.app.

Development

open Package.swift

Select the Barista scheme and Run. Requires macOS 13+ and Xcode 15+.

License

MIT License - see LICENSE for details.

Background image is CC BY-SA 3.0 - see ATTRIBUTION.md.

About

macOS menu bar app for caffeinate - keep your Mac awake with style

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •