Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gleich/nuke
☢️ Force quit all applications with one terminal command in macOS and Linux
https://github.com/gleich/nuke
Last synced: 2 months ago
JSON representation
☢️ Force quit all applications with one terminal command in macOS and Linux
- Host: GitHub
- URL: https://github.com/gleich/nuke
- Owner: gleich
- License: mit
- Created: 2020-05-22T15:43:45.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-09-08T18:06:00.000Z (over 1 year ago)
- Last Synced: 2024-10-28T09:53:04.489Z (3 months ago)
- Language: Go
- Homepage:
- Size: 9.78 MB
- Stars: 78
- Watchers: 2
- Forks: 4
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
- awesome-hackclub - nuke - [@gleich](https://github.com/gleich) - **(Go)** _☢️ Force quit all applications with one terminal command in macOS and Linux_ (CLI Tools)
README
![Title Example](title.gif)
# nuke ![GitHub release (latest by date)](https://img.shields.io/github/v/release/gleich/nuke)
![build](https://github.com/gleich/nuke/workflows/build/badge.svg)
![lint](https://github.com/gleich/nuke/workflows/lint/badge.svg)
![release](https://github.com/gleich/nuke/workflows/release/badge.svg)☢️ Force quit all applications with one terminal command.
## 🚀 Install
### 🍎 MacOS
Simply run `brew install gleich/homebrew-taps/nuke`
### 🐧 Linux
Download the binary from the [releases page](https://github.com/gleich/nuke/releases) and copy it to your desired location.
#### Requirements
- Please install the `wmctrl` CLI tool using your system's package manager
## 🏃 Running
Just run `nuke` and answer the one question to confirm. A window will pop up when you run it from your terminal for the first time asking if your terminal is allowed to close finder windows. Click `ok` to continue. You should only be asked this once.
## ⚙️ Configuration
### 🙈 Ignoring apps
You can configure a list of apps you want nuke to ignore in `~/.config/nuke/config.yml`. You will need to create this file. Below is an example config:
```yml
ignoredApps:
- Google Chrome
- Terminal
```_Ignores Google Chrome and Terminal_
If you want to ignore apps on the fly then you can pass them in as arguments. Keep in mind that spaces and other characters might need to be escaped. Below are two examples
```bash
$ nuke "Google Chrome" "Visual Studio Code"
```_Ignores Google Chrome and Visual Studio Code_
```bash
$ nuke Music Slack Notion
```_Ignores Music, Slack, and Notion_
### 🚀 Update Checks
By default nuke checks if there is an update every time you run it. If you want to turn it off add the following to your config:
```yaml
ignoredUpdates: true
```## 🙋♀️🙋♂️ Contributing
All contributions are welcome! Just make sure that its not an already existing issue or pull request.
## 👥 Contributors
- **[@gleich](https://github.com/gleich)**
- **[@dependabot-preview[bot]](https://github.com/apps/dependabot-preview)**
- **[@fharper](https://github.com/fharper)**
- **[@khrj](https://github.com/khrj)**