See the hs.lor entry in the Dash documentation, or type help.hs.lor in the Hammerspoon console to get more information on how to specify a color.color - an optional table containing color keys as described in hs.lor.Get or set the color that commands displayed in the Hammerspoon console are displayed with. See hs.drawing.windowBehaviors for more information.Ĭlear the Hammerspoon console output window. Window behaviors determine how the console is handled by Spaces and Exposé.behaviorTable - an optional table of strings and/or numbers specifying the desired window behavior for the Hammerspoon console.Get or set the window behavior settings for the console using labels defined in `hs.drawing.windowBehaviors`. Hs.console.behaviorAsLabels(behaviorTable) -> currentValue alpha - an optional number between 0.0 and 1.0 specifying the new alpha level for the Hammerspoon console.Get or set the alpha level of the console window. You can remove this toolbar by adding hs.console.toolbar(nil) to your config, or you can replace it with your own hs.webview.toolbar objectĮxtensions/_coresetup/_a line 700.This is an hs.toolbar object that is shown by default in the Hammerspoon Console.Returns an hs.window object for the console so that you can use hs.window methods on it. Hs.console.asHSWindow() -> hs.window object If you believe that a useful method has been overlooked, please submit an issue. Hs.console.asHSDrawing() -> hs.drawing objectīecause use of this function can easily lead to a crash, useful methods from `hs.drawing` have been added to the `hs.console` module itself. Methods - API calls which can only be made on an object returned by a constructorĪPI Documentation Deprecateds asHSDrawing Signature.Functions - API calls offered directly by the extension.Constants - Useful values which cannot be changed.Deprecateds - API features which will be removed in an future release.They should be considered experimental, but have worked well for me. These functions allow altering the behavior and display of the Hammerspoon console. Some functions for manipulating the Hammerspoon console. Hammerspoon docs: hs.console docs » hs.console
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |