Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

command line tool to manage slowquitapps #81

Closed
hyliang96 opened this issue Nov 5, 2020 · 2 comments
Closed

command line tool to manage slowquitapps #81

hyliang96 opened this issue Nov 5, 2020 · 2 comments

Comments

@hyliang96
Copy link
Contributor

hyliang96 commented Nov 5, 2020

I develop a command line tool to manage slowquitapps, which can both run in zsh and bash.

See gist for the code. It is a function.

Here is the help for it:

slowquit
    is a command line tool to use https://github.com/dteoh/SlowQuitApps,
    which can delay to quit when pressing the cmd+Q.

Usage:
    slowquit { restart | start | stop } : retart|start|stop SlowQuitApps
    slowquit update                     : update SlowQuitApp
    slowquit config                     : show config
    slowquit delay <number>             : how many ms to wait before quit an app
    slowquit overlay { on|1 | off|0 }   : whether to display the circle with resting wating time
    slowquit whitelist { {ls|clear} | {add|delete} '<app-name>' ['<app-name>' ...] }
                                        : whiltelist apps will be quited without waiting
                                          see /Applications/<app-name>.app for <app-name>
    slowquit doc                        : jump to the online doc

To let more users configure slowquitapps conveniently, could you please modify it to an executable .sh file, and make it installed to /usr/local/bin/ when running brew cask install slowquitapps?

@dteoh
Copy link
Owner

dteoh commented Nov 5, 2020

Cool, can you submit a pull request?

dteoh added a commit that referenced this issue Dec 9, 2020
Add a command line tool to manage  SlowQuitApps (#81)
@dteoh dteoh closed this as completed Dec 9, 2020
@dteoh
Copy link
Owner

dteoh commented Dec 28, 2020

In v0.8.1, the script is now installed when installing through Homebrew.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants