{"id":15131266,"url":"https://github.com/dteoh/slowquitapps","last_synced_at":"2025-04-12T15:38:05.171Z","repository":{"id":44745886,"uuid":"20792130","full_name":"dteoh/SlowQuitApps","owner":"dteoh","description":"Add a global delay to Command-Q to stop accidental app quits.","archived":false,"fork":false,"pushed_at":"2020-12-28T07:08:21.000Z","size":1421,"stargazers_count":1184,"open_issues_count":20,"forks_count":56,"subscribers_count":24,"default_branch":"master","last_synced_at":"2025-04-03T15:11:24.866Z","etag":null,"topics":["keybindings","keyboard","keyboard-shortcut","macos","productivity","shortcut","utility"],"latest_commit_sha":null,"homepage":"","language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dteoh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-06-13T04:31:46.000Z","updated_at":"2025-04-02T09:36:53.000Z","dependencies_parsed_at":"2022-08-26T05:02:03.477Z","dependency_job_id":null,"html_url":"https://github.com/dteoh/SlowQuitApps","commit_stats":null,"previous_names":[],"tags_count":25,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dteoh%2FSlowQuitApps","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dteoh%2FSlowQuitApps/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dteoh%2FSlowQuitApps/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dteoh%2FSlowQuitApps/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dteoh","download_url":"https://codeload.github.com/dteoh/SlowQuitApps/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248590559,"owners_count":21129847,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["keybindings","keyboard","keyboard-shortcut","macos","productivity","shortcut","utility"],"created_at":"2024-09-26T03:40:21.384Z","updated_at":"2025-04-12T15:38:05.137Z","avatar_url":"https://github.com/dteoh.png","language":"Objective-C","readme":"# Slow Quit Apps\n\n[![Release](https://img.shields.io/github/release/dteoh/SlowQuitApps.svg)](https://github.com/dteoh/SlowQuitApps/releases)\n![Release Date](https://img.shields.io/github/release-date/dteoh/SlowQuitApps.svg)\n\n![Preview](./img/preview.gif?raw=true \"Slow Quit Apps preview\")\n\nA macOS app that adds a global delay of 1 second to the Cmd-Q shortcut. In\nother words, you have to hold down Cmd-Q for 1 second before an application\nwill quit.\n\nWhen the delay is active, an overlay is drawn at the center of the screen.\n\n## Why?\n\nA quick search for 'command q' on Google revealed these insights:\n\n* \"have you ever accidentally hit ⌘Q and quit an app\"\n* \"how to disable command-Q\"\n* \"Command-Q is the worst keyboard shortcut ever\"\n* \"ever hit Command-Q instead of Command-W and lost all of your open web pages in Safari?\"\n\n... and many more similar sentiments.\n\nSome proposed solutions include:\n\n* remapping Cmd-Q to do something else\n* changing the application quit keyboard short to use another keybinding\n\nThis app implements the same approach as Google Chrome's \"Warn Before Quitting\"\nfeature, except it is now available on every app!\n\n## Download \u0026 Install\n\nPre-built binaries can be downloaded from the [releases page](https://github.com/dteoh/SlowQuitApps/releases).\n\nUnzip, drag the app to Applications, and then run it. You can optionally\nchoose to automatically start the application on login.\n\n### Homebrew\n\nIf you wish to install the application from Homebrew:\n\n```\n$ brew tap dteoh/sqa\n$ brew install --cask slowquitapps\n```\n\nThe application will live at `/Applications/SlowQuitApps.app`.\n\nUpdating the app:\n\n```\n$ brew update\n$ brew reinstall --cask slowquitapps\n$ killall SlowQuitApps\n```\n\nThen relaunch the application.\n\nOr using [brew-cask-upgrade](https://github.com/buo/homebrew-cask-upgrade):\n\n```\n$ brew cu slowquitapps\n```\n\nInstalling the app through Homebrew will add a script called `sqa` accessible\nfrom the command line. To use this tool, the main app must first be given\npermissions to run.\n\n\n### Post-update Maintenance\n\nUnfortunately, after upgrading SQA, you will have to reset accessibility\npermissions for the app. Go to System Preferences -\u003e Security \u0026 Privacy -\u003e\nPrivacy -\u003e Accessibility. Remove SlowQuitApps from the list, then add it back\nto the list again.\n\n### Compatibility\n\nThe app is currently developed on Mojave and only support for Mojave can be\nprovided.\n\n* Mavericks (10.9) to High Sierra (10.13) support: please download version 0.5.0\n* Mountain Lion (10.8) support: please download version 0.4.0\n\n## Customization\n\nYou must exit and relaunch SlowQuitApps after making customizations.\n\nTo exit the app:\n\n```\n$ killall SlowQuitApps\n```\n\nAll of the following tasks can be done more conveniently using the `sqa`\nscript. This script is automatically available from the command line when the\napp is installed through Homebrew.\n\n### Changing default delay\n\nThe currently set delay can be reviewed with:\n\n    $ defaults read com.dteoh.SlowQuitApps\n\nTo change the delay to 5 seconds for example, open up Terminal app and\nrun the following command:\n\n    $ defaults write com.dteoh.SlowQuitApps delay -int 5000\n\nThe delay is specified in milliseconds.\n\n### Whitelisting applications\n\nWhitelisted apps will be sent the Cmd-Q keypress directly.\n\nTo whitelist an app, start by locating its bundle ID. For example, to whitelist\nthe \"Notes\" application:\n\n    $ osascript -e 'id of app \"Notes\"'\n    com.apple.Notes\n    $ defaults write com.dteoh.SlowQuitApps whitelist -array-add com.apple.Notes\n\nTo reset the whitelist:\n\n    $ defaults delete com.dteoh.SlowQuitApps whitelist\n\nTo check whitelisted apps:\n\n    $ defaults read com.dteoh.SlowQuitApps whitelist\n\n#### Blacklist mode\n\nThe whitelist can be used to only allow SlowQuitApps to handle Cmd-Q for those\nselected applications. To switch on this mode:\n\n    $ defaults write com.dteoh.SlowQuitApps invertList -bool YES\n\nIn this mode, non-whitelisted apps will be sent the Cmd-Q keypress directly.\n\nTo switch off this mode:\n\n    $ defaults delete com.dteoh.SlowQuitApps invertList\n\n### Hide overlay\n\nBy default, an overlay with an indicator of the time remaining until the app gets closed appears. To hide this overlay, run the following command:\n\n    $ defaults write com.dteoh.SlowQuitApps displayOverlay -bool NO\n\n## License\n\n```\nSlowQuitApps\n\nCopyright (C) 2020 Douglas Teoh\n\nThis program is free software; you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation; either version 2 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along\nwith this program; if not, write to the Free Software Foundation, Inc.,\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.\n```\n\n### App Icon\n\nThe app icon is a contribution courtesy of [@fancyme][1] ([#35][2]).\n\n[1]: https://github.com/fancyme\n[2]: https://github.com/dteoh/SlowQuitApps/issues/35\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdteoh%2Fslowquitapps","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdteoh%2Fslowquitapps","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdteoh%2Fslowquitapps/lists"}