Window layout manager
This extension allows you to trigger window placement/sizing to a number of windows at once
Signature | hs.layout.left25 |
---|---|
Type | Constant |
Description |
A unit rect which will make a window occupy the left 25% of a screen |
Source | extensions/layout/layout.lua line 14 |
Signature | hs.layout.left30 |
---|---|
Type | Constant |
Description |
A unit rect which will make a window occupy the left 30% of a screen |
Source | extensions/layout/layout.lua line 19 |
Signature | hs.layout.left50 |
---|---|
Type | Constant |
Description |
A unit rect which will make a window occupy the left 50% of a screen |
Source | extensions/layout/layout.lua line 24 |
Signature | hs.layout.left70 |
---|---|
Type | Constant |
Description |
A unit rect which will make a window occupy the left 70% of a screen |
Source | extensions/layout/layout.lua line 29 |
Signature | hs.layout.left75 |
---|---|
Type | Constant |
Description |
A unit rect which will make a window occupy the left 75% of a screen |
Source | extensions/layout/layout.lua line 34 |
Signature | hs.layout.maximized |
---|---|
Type | Constant |
Description |
A unit rect which will make a window occupy all of a screen |
Source | extensions/layout/layout.lua line 64 |
Signature | hs.layout.right25 |
---|---|
Type | Constant |
Description |
A unit rect which will make a window occupy the right 25% of a screen |
Source | extensions/layout/layout.lua line 39 |
Signature | hs.layout.right30 |
---|---|
Type | Constant |
Description |
A unit rect which will make a window occupy the right 30% of a screen |
Source | extensions/layout/layout.lua line 44 |
Signature | hs.layout.right50 |
---|---|
Type | Constant |
Description |
A unit rect which will make a window occupy the right 50% of a screen |
Source | extensions/layout/layout.lua line 49 |
Signature | hs.layout.right70 |
---|---|
Type | Constant |
Description |
A unit rect which will make a window occupy the right 70% of a screen |
Source | extensions/layout/layout.lua line 54 |
Signature | hs.layout.right75 |
---|---|
Type | Constant |
Description |
A unit rect which will make a window occupy the right 75% of a screen |
Source | extensions/layout/layout.lua line 59 |
Signature | hs.layout.apply(table[, windowTitleComparator]) |
---|---|
Type | Function |
Description |
Applies a layout to applications/windows |
Parameters |
|
Returns |
|
Notes |
|
Source | extensions/layout/layout.lua line 69 |
© 2014–2017 Hammerspoon contributors
Licensed under the MIT License.
https://www.hammerspoon.org/docs/hs.layout.html