https://github.com/adrianjagielak/quitguard
QuitGuard is a lightweight macOS menu bar app that helps prevent accidental Cmd+Q presses, which can unintentionally close your entire application. This often happens due to the proximity of similar, commonly used shortcuts like Cmd+W (in Safari), leading to unintended app closures.
https://github.com/adrianjagielak/quitguard
cmdq cmdw macos quit safari swiftui
Last synced: 8 months ago
JSON representation
QuitGuard is a lightweight macOS menu bar app that helps prevent accidental Cmd+Q presses, which can unintentionally close your entire application. This often happens due to the proximity of similar, commonly used shortcuts like Cmd+W (in Safari), leading to unintended app closures.
- Host: GitHub
- URL: https://github.com/adrianjagielak/quitguard
- Owner: adrianjagielak
- Created: 2024-09-02T11:41:34.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-09-17T12:31:20.000Z (almost 2 years ago)
- Last Synced: 2025-01-31T10:06:08.763Z (over 1 year ago)
- Topics: cmdq, cmdw, macos, quit, safari, swiftui
- Language: Swift
- Homepage: https://github.com/adrianjagielak/QuitGuard
- Size: 4.19 MB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# QuitGuard

**QuitGuard** is a lightweight macOS menu bar app that helps prevent accidental `Cmd+Q` presses, which can unintentionally close your entire application. This often happens due to the proximity of similar, commonly used shortcuts like `Cmd+W` (in Safari), leading to unintended app closures. QuitGuard offers a simple solution by requiring you to press and hold `Cmd+Q` to quit, minimizing the chances of these accidental exits.
## Features
- **Prevents Accidental Quits:** Instead of quitting the app immediately when `Cmd+Q` is pressed, QuitGuard requires you to hold the `Cmd+Q` combination to actually quit.
- **Menu Bar Integration:** The app runs quietly in your Mac's menu bar, allowing easy access to its settings and status.
- **Lightweight and Efficient:** Built with SwiftUI, QuitGuard is minimalistic and designed to have a small footprint on your system.
## Installation
You can install the app using either of the following methods:
- Download from the [Mac App Store](https://apple.co/3Z9nqYZ)
## Usage
1. Launch QuitGuard. You will see a new icon in your menu bar.
2. Accept the system popup to grant Accessibility permissions
2. QuitGuard will start monitoring `Cmd+Q` presses.
3. To quit an app, hold down `Cmd+Q` until the app closes. If you release `Cmd+Q` too quickly, the quit command will be ignored, preventing accidental closures.
# Showcase



## Contributing
Contributions are welcome! Please feel free to submit a pull request or [open an issue](https://github.com/adrianjagielak/QuitGuard/issues/new) if you have any suggestions or bug reports.