docs » hs.layout
Window layout manager
This extension allows you to trigger window placement/sizing to a number of windows at once
- Constants - Useful values which cannot be changed
- left25
- left30
- left50
- left70
- left75
- maximized
- right25
- right30
- right50
- right70
- right75
- Functions - API calls offered directly by the extension
- apply
Signature | hs.layout.left25 |
---|---|
Type | Constant |
Description | A unit rect which will make a window occupy the left 25% of a screen |
Signature | hs.layout.left30 |
---|---|
Type | Constant |
Description | A unit rect which will make a window occupy the left 30% of a screen |
Signature | hs.layout.left50 |
---|---|
Type | Constant |
Description | A unit rect which will make a window occupy the left 50% of a screen |
Signature | hs.layout.left70 |
---|---|
Type | Constant |
Description | A unit rect which will make a window occupy the left 70% of a screen |
Signature | hs.layout.left75 |
---|---|
Type | Constant |
Description | A unit rect which will make a window occupy the left 75% of a screen |
Signature | hs.layout.maximized |
---|---|
Type | Constant |
Description | A unit rect which will make a window occupy all of a screen |
Signature | hs.layout.right25 |
---|---|
Type | Constant |
Description | A unit rect which will make a window occupy the right 25% of a screen |
Signature | hs.layout.right30 |
---|---|
Type | Constant |
Description | A unit rect which will make a window occupy the right 30% of a screen |
Signature | hs.layout.right50 |
---|---|
Type | Constant |
Description | A unit rect which will make a window occupy the right 50% of a screen |
Signature | hs.layout.right70 |
---|---|
Type | Constant |
Description | A unit rect which will make a window occupy the right 70% of a screen |
Signature | hs.layout.right75 |
---|---|
Type | Constant |
Description | A unit rect which will make a window occupy the right 75% of a screen |
Signature | hs.layout.apply(table[, windowTitleComparator]) |
---|---|
Type | Function |
Description | Applies a layout to applications/windows |
Parameters |
|
Returns |
|
Notes |
|