Skip to content

brokensandals/TaskHelper.spoon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

TaskHelper.spoon

A spoon (plugin) for hammerspoon that provides a wrapper around hs.task that shows notifications and logs stdout/stderr.

Setup

Clone this repository inside of ~/.hammerspoon/Spoons, then add hs.loadSpoon("TaskHelper") to your init.lua.

Usage

Function name Description
run(title, path[, arguments[, options]]) Starts the program at the given path, with the given list of arguments. Shows a failure notification based if the exit code is nonzero, using the given title. Logs exit code, stdout, and stderr to the Hammerspoon console. Set options.notifyOnSuccess to true if you want a temporary notification to be shown on successes too.

License

This is available as open source under the terms of the MIT License.

About

A wrapper around Hammerspoon's hs.task that shows notifications and logs stdout/stderr.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages