![]() ![]() ![]() the table returned has its tostring metamethod set to hs.inspect to simplify inspecting the results when using the Hammerspoon Console. It should accept one argument, which will be the number of the new Space (or -1 if the number cannot be determined)Įxtensions/spaces/libspaces_watcher.m line 69Įxtensions/spaces/libspaces_watcher.m line 95Įxtensions/spaces/libspaces_watcher. a key-value table in which the keys are the UUIDs for the current screens and the value for each key is the space ID of the active space for that display. handler - A function to be called when the active Space changes. The Spacehammer project explores these ideas to allow you to take your keyboard-driven workflow to the next level. ![]() Hs.(handler) -> watcherĬreates a new watcher for Space change events Methods - API calls which can only be made on an object returned by a constructorĪPI Documentation Constructors new Signature.Constructors - API calls which return an object, typically one that offers API methods.You should not depend on Space numbers being around forever! API Overview What is Hammerspoon you ask This is a tool for powerful automation of OS X. Cannot retrieve contributors at this time 896 lines (809 sloc) 41. NOTE: This extension determines the number of a Space, using OS X APIs that have been deprecated since 10.8 and will likely be removed in a future release. hammerspoon/extensions/spaces/a Go to file Go to fileT Go to lineL Copy path Copy This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository. Watches for the current Space being changed Hammerspoon docs: hs.spaces.watcher docs » hs.spaces.watcher ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |