![]() Get or set the color for the background of the Hammerspoon Console's output view.Updated 2: I have now moved to a new system I'm calling Elemental. Hs.console.outputBackgroundColor() -> color The default console history is 100,000 characters.A length value of zero will allow the history to grow infinitely.the current maximum size of the console history.length - an optional number containing the maximum size in bytes of the Hammerspoon console history.Get or set the max length of the Hammerspoon console's scrollback history. see the notes for hs.drawing.windowLevels.theLevel - an optional parameter specifying the desired level as an integer, which can be obtained from hs.drawing.windowLevels.Get or set the color for the background of the Hammerspoon Console's input field. Hs.console.inputBackgroundColor() -> color Get an hs.window object which represents the Hammerspoon console window Hs.console.hswindow() -> hs.window object an array containing the history of commands entered into the Hammerspoon console.Get the Hammerspoon console command history as an array. If the text of the console is retrieved as a string, no color or style information in the console output is retrieved - only the raw text.The text currently in the Hammerspoon console output window as either a string or an hs.styledtext object.styled - an optional boolean indicating whether the console text is returned as a string or a styledText object.Get the text of the Hammerspoon console output window. Hs.console.getConsole() -> text | styledText Enabling Dark Mode for the Console only affects the window background, and doesn't automatically change the Console's Background Color, so you will need to add something similar to:.A boolean, true if dark mode is enabled otherwise false.state - an optional boolean which will set whether or not the Console window should display in dark mode.Set or display whether or not the Console window should display in dark mode. Get or set the color that function results displayed in the Hammerspoon console are displayed with. Get or set the color that regular output displayed in the Hammerspoon console is displayed with. Note this only affects future output - anything already in the console will remain its current font.the current font setting as a table containing a name key and a size key.If a table is specified, it should contain a name key-value pair and a size key-value pair describing the font to be used. If a string is specified, then the default system font size will be used. font - an optional string or table describing the font to use in the console.Get or set the font used in the Hammerspoon console. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |