Skip to content

von/Contexts.spoon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Contexts.spoon

Hammerspoon spoon for switching contexts

Basically a wrapper around hs.layout with the following additions:

  • Allows for an optional function to be called when a context is applied

  • Starts any applications listed in the layout if they are not running.

  • Unminimizes any windows listed in the layout if needed.

  • Allows for an optional function to be called with a context is unapplied (typically when another context is applied.

Note: There currently is a race condition in that applications in the layout that are started may not be running yet when subsequent steps are taken.

About

Hammerspoon spoon for switch contexts

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages