Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/LZhenHong/Americano
Simple caffeinate wrapper stay at menu bar.
https://github.com/LZhenHong/Americano
application caffeinate macos menubar-app open-source statusbar swift swift5 swiftui
Last synced: about 2 months ago
JSON representation
Simple caffeinate wrapper stay at menu bar.
- Host: GitHub
- URL: https://github.com/LZhenHong/Americano
- Owner: LZhenHong
- License: mit
- Created: 2023-09-20T08:07:48.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-09-13T06:33:21.000Z (3 months ago)
- Last Synced: 2024-09-13T18:22:55.517Z (3 months ago)
- Topics: application, caffeinate, macos, menubar-app, open-source, statusbar, swift, swift5, swiftui
- Language: Swift
- Homepage:
- Size: 1.91 MB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-swift-macos-apps - Americano - Simple caffeinate wrapper stay at menu bar. (System / Text)
- awesome-swift-macos-apps - Americano - Simple caffeinate wrapper stay at menu bar. (System / Text)
README
# Americano
Americano is a macOS app designed to prevent your Mac from entering sleep mode. This small utility comes in handy when you need to keep your system awake during specific tasks such as downloads, presentations, or any other scenario where automatic sleep could be disruptive.
## How it works
The app primarily functions as a wrapper for the macOS [caffeinate][2] command-line utility.
## URL Schemes
You need launch Americano first.
* Activate: `americano:///activate?hours={hours}&minutes={minutes}&seconds={seconds}`
* Deactivate: `americano:///deactivate`
* Toggle: `americano:///toggle`## System requirements
- macOS 13.5 and later
## How to build
1. Clone this repo:
```bash
git clone [email protected]:LZhenHong/Americano.git
```2. Open `Americano.xcodeproj` with Xcode.
3. Use your own Team and change the Bundle Identifier.
## Contributions
Pull requests and issues are welcome! If you encounter any issues or have suggestions for improvement, feel free to submit an issue.
## License
This project is licensed under the [MIT License][1].
> [!NOTE]
> If you are using **Bartender 5** and have hidden the menu bar icon, please be aware that the status display of the Americano menu bar icon may be inaccurate.[1]: https://github.com/LZhenHong/Americano/blob/main/LICENSE
[2]: https://ss64.com/osx/caffeinate.html