mirror of https://github.com/einverne/dotfiles.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
406 lines
13 KiB
406 lines
13 KiB
[ |
|
{ |
|
"Constant" : [ |
|
|
|
], |
|
"submodules" : [ |
|
|
|
], |
|
"Function" : [ |
|
|
|
], |
|
"Variable" : [ |
|
{ |
|
"doc" : "An integer specifying how many gridparts the screen should be divided into. Defaults to 30.", |
|
"desc" : "An integer specifying how many gridparts the screen should be divided into. Defaults to 30.", |
|
"parameters" : [ |
|
|
|
], |
|
"stripped_doc" : [ |
|
"An integer specifying how many gridparts the screen should be divided into. Defaults to 30." |
|
], |
|
"notes" : [ |
|
|
|
], |
|
"signature" : "WinWin.gridparts", |
|
"type" : "Variable", |
|
"returns" : [ |
|
|
|
], |
|
"def" : "WinWin.gridparts", |
|
"name" : "gridparts" |
|
} |
|
], |
|
"stripped_doc" : [ |
|
|
|
], |
|
"Deprecated" : [ |
|
|
|
], |
|
"type" : "Module", |
|
"desc" : "Windows manipulation", |
|
"Constructor" : [ |
|
|
|
], |
|
"doc" : "Windows manipulation\n\nDownload: [https:\/\/github.com\/Hammerspoon\/Spoons\/raw\/master\/Spoons\/WinWin.spoon.zip](https:\/\/github.com\/Hammerspoon\/Spoons\/raw\/master\/Spoons\/WinWin.spoon.zip)", |
|
"Method" : [ |
|
{ |
|
"doc" : "Move the focused window in the `direction` by on step. The step scale equals to the width\/height of one gridpart.\n\nParameters:\n * direction - A string specifying the direction, valid strings are: `left`, `right`, `up`, `down`.", |
|
"desc" : "Move the focused window in the `direction` by on step. The step scale equals to the width\/height of one gridpart.", |
|
"parameters" : [ |
|
" * direction - A string specifying the direction, valid strings are: `left`, `right`, `up`, `down`." |
|
], |
|
"stripped_doc" : [ |
|
"Move the focused window in the `direction` by on step. The step scale equals to the width\/height of one gridpart.", |
|
"" |
|
], |
|
"notes" : [ |
|
|
|
], |
|
"signature" : "WinWin:stepMove(direction)", |
|
"type" : "Method", |
|
"returns" : [ |
|
|
|
], |
|
"def" : "WinWin:stepMove(direction)", |
|
"name" : "stepMove" |
|
}, |
|
{ |
|
"doc" : "Resize the focused window in the `direction` by on step.\n\nParameters:\n * direction - A string specifying the direction, valid strings are: `left`, `right`, `up`, `down`.", |
|
"desc" : "Resize the focused window in the `direction` by on step.", |
|
"parameters" : [ |
|
" * direction - A string specifying the direction, valid strings are: `left`, `right`, `up`, `down`." |
|
], |
|
"stripped_doc" : [ |
|
"Resize the focused window in the `direction` by on step.", |
|
"" |
|
], |
|
"notes" : [ |
|
|
|
], |
|
"signature" : "WinWin:stepResize(direction)", |
|
"type" : "Method", |
|
"returns" : [ |
|
|
|
], |
|
"def" : "WinWin:stepResize(direction)", |
|
"name" : "stepResize" |
|
}, |
|
{ |
|
"doc" : "Stash current windows's position and size.", |
|
"desc" : "Stash current windows's position and size.", |
|
"parameters" : [ |
|
|
|
], |
|
"stripped_doc" : [ |
|
"Stash current windows's position and size." |
|
], |
|
"notes" : [ |
|
|
|
], |
|
"signature" : "WinWin:stash()", |
|
"type" : "Method", |
|
"returns" : [ |
|
|
|
], |
|
"def" : "WinWin:stash()", |
|
"name" : "stash" |
|
}, |
|
{ |
|
"doc" : "Move and resize the focused window.\n\nParameters:\n * option - A string specifying the option, valid strings are: `halfleft`, `halfright`, `halfup`, `halfdown`, `cornerNW`, `cornerSW`, `cornerNE`, `cornerSE`, `center`, `fullscreen`, `expand`, `shrink`.", |
|
"desc" : "Move and resize the focused window.", |
|
"parameters" : [ |
|
" * option - A string specifying the option, valid strings are: `halfleft`, `halfright`, `halfup`, `halfdown`, `cornerNW`, `cornerSW`, `cornerNE`, `cornerSE`, `center`, `fullscreen`, `expand`, `shrink`." |
|
], |
|
"stripped_doc" : [ |
|
"Move and resize the focused window.", |
|
"" |
|
], |
|
"notes" : [ |
|
|
|
], |
|
"signature" : "WinWin:moveAndResize(option)", |
|
"type" : "Method", |
|
"returns" : [ |
|
|
|
], |
|
"def" : "WinWin:moveAndResize(option)", |
|
"name" : "moveAndResize" |
|
}, |
|
{ |
|
"doc" : "Move the focused window between all of the screens in the `direction`.\n\nParameters:\n * direction - A string specifying the direction, valid strings are: `left`, `right`, `up`, `down`, `next`.", |
|
"desc" : "Move the focused window between all of the screens in the `direction`.", |
|
"parameters" : [ |
|
" * direction - A string specifying the direction, valid strings are: `left`, `right`, `up`, `down`, `next`." |
|
], |
|
"stripped_doc" : [ |
|
"Move the focused window between all of the screens in the `direction`.", |
|
"" |
|
], |
|
"notes" : [ |
|
|
|
], |
|
"signature" : "WinWin:moveToScreen(direction)", |
|
"type" : "Method", |
|
"returns" : [ |
|
|
|
], |
|
"def" : "WinWin:moveToScreen(direction)", |
|
"name" : "moveToScreen" |
|
}, |
|
{ |
|
"doc" : "Undo the last window manipulation. Only those \"moveAndResize\" manipulations can be undone.", |
|
"desc" : "Undo the last window manipulation. Only those \"moveAndResize\" manipulations can be undone.", |
|
"parameters" : [ |
|
|
|
], |
|
"stripped_doc" : [ |
|
"Undo the last window manipulation. Only those \"moveAndResize\" manipulations can be undone." |
|
], |
|
"notes" : [ |
|
|
|
], |
|
"signature" : "WinWin:undo()", |
|
"type" : "Method", |
|
"returns" : [ |
|
|
|
], |
|
"def" : "WinWin:undo()", |
|
"name" : "undo" |
|
}, |
|
{ |
|
"doc" : "Redo the window manipulation. Only those \"moveAndResize\" manipulations can be undone.", |
|
"desc" : "Redo the window manipulation. Only those \"moveAndResize\" manipulations can be undone.", |
|
"parameters" : [ |
|
|
|
], |
|
"stripped_doc" : [ |
|
"Redo the window manipulation. Only those \"moveAndResize\" manipulations can be undone." |
|
], |
|
"notes" : [ |
|
|
|
], |
|
"signature" : "WinWin:redo()", |
|
"type" : "Method", |
|
"returns" : [ |
|
|
|
], |
|
"def" : "WinWin:redo()", |
|
"name" : "redo" |
|
}, |
|
{ |
|
"doc" : "Center the cursor on the focused window.", |
|
"desc" : "Center the cursor on the focused window.", |
|
"parameters" : [ |
|
|
|
], |
|
"stripped_doc" : [ |
|
"Center the cursor on the focused window." |
|
], |
|
"notes" : [ |
|
|
|
], |
|
"signature" : "WinWin:centerCursor()", |
|
"type" : "Method", |
|
"returns" : [ |
|
|
|
], |
|
"def" : "WinWin:centerCursor()", |
|
"name" : "centerCursor" |
|
} |
|
], |
|
"Field" : [ |
|
|
|
], |
|
"items" : [ |
|
{ |
|
"doc" : "An integer specifying how many gridparts the screen should be divided into. Defaults to 30.", |
|
"desc" : "An integer specifying how many gridparts the screen should be divided into. Defaults to 30.", |
|
"parameters" : [ |
|
|
|
], |
|
"stripped_doc" : [ |
|
"An integer specifying how many gridparts the screen should be divided into. Defaults to 30." |
|
], |
|
"notes" : [ |
|
|
|
], |
|
"signature" : "WinWin.gridparts", |
|
"type" : "Variable", |
|
"returns" : [ |
|
|
|
], |
|
"def" : "WinWin.gridparts", |
|
"name" : "gridparts" |
|
}, |
|
{ |
|
"doc" : "Center the cursor on the focused window.", |
|
"desc" : "Center the cursor on the focused window.", |
|
"parameters" : [ |
|
|
|
], |
|
"stripped_doc" : [ |
|
"Center the cursor on the focused window." |
|
], |
|
"notes" : [ |
|
|
|
], |
|
"signature" : "WinWin:centerCursor()", |
|
"type" : "Method", |
|
"returns" : [ |
|
|
|
], |
|
"def" : "WinWin:centerCursor()", |
|
"name" : "centerCursor" |
|
}, |
|
{ |
|
"doc" : "Move and resize the focused window.\n\nParameters:\n * option - A string specifying the option, valid strings are: `halfleft`, `halfright`, `halfup`, `halfdown`, `cornerNW`, `cornerSW`, `cornerNE`, `cornerSE`, `center`, `fullscreen`, `expand`, `shrink`.", |
|
"desc" : "Move and resize the focused window.", |
|
"parameters" : [ |
|
" * option - A string specifying the option, valid strings are: `halfleft`, `halfright`, `halfup`, `halfdown`, `cornerNW`, `cornerSW`, `cornerNE`, `cornerSE`, `center`, `fullscreen`, `expand`, `shrink`." |
|
], |
|
"stripped_doc" : [ |
|
"Move and resize the focused window.", |
|
"" |
|
], |
|
"notes" : [ |
|
|
|
], |
|
"signature" : "WinWin:moveAndResize(option)", |
|
"type" : "Method", |
|
"returns" : [ |
|
|
|
], |
|
"def" : "WinWin:moveAndResize(option)", |
|
"name" : "moveAndResize" |
|
}, |
|
{ |
|
"doc" : "Move the focused window between all of the screens in the `direction`.\n\nParameters:\n * direction - A string specifying the direction, valid strings are: `left`, `right`, `up`, `down`, `next`.", |
|
"desc" : "Move the focused window between all of the screens in the `direction`.", |
|
"parameters" : [ |
|
" * direction - A string specifying the direction, valid strings are: `left`, `right`, `up`, `down`, `next`." |
|
], |
|
"stripped_doc" : [ |
|
"Move the focused window between all of the screens in the `direction`.", |
|
"" |
|
], |
|
"notes" : [ |
|
|
|
], |
|
"signature" : "WinWin:moveToScreen(direction)", |
|
"type" : "Method", |
|
"returns" : [ |
|
|
|
], |
|
"def" : "WinWin:moveToScreen(direction)", |
|
"name" : "moveToScreen" |
|
}, |
|
{ |
|
"doc" : "Redo the window manipulation. Only those \"moveAndResize\" manipulations can be undone.", |
|
"desc" : "Redo the window manipulation. Only those \"moveAndResize\" manipulations can be undone.", |
|
"parameters" : [ |
|
|
|
], |
|
"stripped_doc" : [ |
|
"Redo the window manipulation. Only those \"moveAndResize\" manipulations can be undone." |
|
], |
|
"notes" : [ |
|
|
|
], |
|
"signature" : "WinWin:redo()", |
|
"type" : "Method", |
|
"returns" : [ |
|
|
|
], |
|
"def" : "WinWin:redo()", |
|
"name" : "redo" |
|
}, |
|
{ |
|
"doc" : "Stash current windows's position and size.", |
|
"desc" : "Stash current windows's position and size.", |
|
"parameters" : [ |
|
|
|
], |
|
"stripped_doc" : [ |
|
"Stash current windows's position and size." |
|
], |
|
"notes" : [ |
|
|
|
], |
|
"signature" : "WinWin:stash()", |
|
"type" : "Method", |
|
"returns" : [ |
|
|
|
], |
|
"def" : "WinWin:stash()", |
|
"name" : "stash" |
|
}, |
|
{ |
|
"doc" : "Move the focused window in the `direction` by on step. The step scale equals to the width\/height of one gridpart.\n\nParameters:\n * direction - A string specifying the direction, valid strings are: `left`, `right`, `up`, `down`.", |
|
"desc" : "Move the focused window in the `direction` by on step. The step scale equals to the width\/height of one gridpart.", |
|
"parameters" : [ |
|
" * direction - A string specifying the direction, valid strings are: `left`, `right`, `up`, `down`." |
|
], |
|
"stripped_doc" : [ |
|
"Move the focused window in the `direction` by on step. The step scale equals to the width\/height of one gridpart.", |
|
"" |
|
], |
|
"notes" : [ |
|
|
|
], |
|
"signature" : "WinWin:stepMove(direction)", |
|
"type" : "Method", |
|
"returns" : [ |
|
|
|
], |
|
"def" : "WinWin:stepMove(direction)", |
|
"name" : "stepMove" |
|
}, |
|
{ |
|
"doc" : "Resize the focused window in the `direction` by on step.\n\nParameters:\n * direction - A string specifying the direction, valid strings are: `left`, `right`, `up`, `down`.", |
|
"desc" : "Resize the focused window in the `direction` by on step.", |
|
"parameters" : [ |
|
" * direction - A string specifying the direction, valid strings are: `left`, `right`, `up`, `down`." |
|
], |
|
"stripped_doc" : [ |
|
"Resize the focused window in the `direction` by on step.", |
|
"" |
|
], |
|
"notes" : [ |
|
|
|
], |
|
"signature" : "WinWin:stepResize(direction)", |
|
"type" : "Method", |
|
"returns" : [ |
|
|
|
], |
|
"def" : "WinWin:stepResize(direction)", |
|
"name" : "stepResize" |
|
}, |
|
{ |
|
"doc" : "Undo the last window manipulation. Only those \"moveAndResize\" manipulations can be undone.", |
|
"desc" : "Undo the last window manipulation. Only those \"moveAndResize\" manipulations can be undone.", |
|
"parameters" : [ |
|
|
|
], |
|
"stripped_doc" : [ |
|
"Undo the last window manipulation. Only those \"moveAndResize\" manipulations can be undone." |
|
], |
|
"notes" : [ |
|
|
|
], |
|
"signature" : "WinWin:undo()", |
|
"type" : "Method", |
|
"returns" : [ |
|
|
|
], |
|
"def" : "WinWin:undo()", |
|
"name" : "undo" |
|
} |
|
], |
|
"Command" : [ |
|
|
|
], |
|
"name" : "WinWin" |
|
} |
|
] |