Files
dotfiles/hammerspoon/Spoons/RoundedCorners.spoon/docs.json
Jim Myhrberg 7bd9f0d9f2 Major update to Hammerspoon config
- Use Spoons (installed via Makefile targets):
  - RoundedCorners
  - HeadphoneAutoPause (with AutoResume patch)
- Move windows management into separate file
2017-08-05 13:44:00 +01:00

40 lines
1.5 KiB
JSON

[
{
"doc" : "Give your screens rounded corners",
"items" : [
{
"doc" : "Controls whether corners are drawn on all screens or just the primary screen. Defaults to true",
"type" : "Variable",
"name" : "allScreens",
"def" : "RoundedCorners.allScreens"
},
{
"doc" : "Controls which level of the screens the corners are drawn at. See `hs.canvas.windowLevels` for more information. Defaults to `screenSaver + 1`",
"type" : "Variable",
"name" : "level",
"def" : "RoundedCorners.level"
},
{
"doc" : "Controls the radius of the rounded corners, in points. Defaults to 6",
"type" : "Variable",
"name" : "radius",
"def" : "RoundedCorners.radius"
},
{
"doc" : "Starts RoundedCorners\n\nParameters:\n * None\n\nReturns:\n * The RoundedCorners object\n\nNotes:\n * This will draw the rounded screen corners and start watching for changes in screen sizes\/layouts, reacting accordingly",
"type" : "Method",
"name" : "start",
"def" : "RoundedCorners:start()"
},
{
"doc" : "Stops RoundedCorners\n\nParameters:\n * None\n\nReturns:\n * The RoundedCorners object\n\nNotes:\n * This will remove all rounded screen corners and stop watching for changes in screen sizes\/layouts",
"type" : "Method",
"name" : "stop",
"def" : "RoundedCorners:stop()"
}
],
"name" : "RoundedCorners",
"desc" : "Give your screens rounded corners"
}
]