Skip to content

gleich/nuke

Repository files navigation

Title Example

nuke GitHub release (latest by date)

build lint release

☢️ 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 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:

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

$ nuke "Google Chrome" "Visual Studio Code"

Ignores Google Chrome and Visual Studio Code

$ 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:

ignoredUpdates: true

🙋‍♀️🙋‍♂️ Contributing

All contributions are welcome! Just make sure that its not an already existing issue or pull request.

👥 Contributors