2022-08-12 20:46:36 +02:00
|
|
|
The master layout makes one window be the "master", taking the left part of the
|
|
|
|
screen, and tiles the rest on the right.
|
|
|
|
|
|
|
|
# Quirks
|
|
|
|
|
|
|
|
The right, "slave" windows will always be split uniformly. You cannot change
|
|
|
|
their size.
|
|
|
|
|
|
|
|
![master1](https://user-images.githubusercontent.com/43317083/179357849-321f042c-f536-44b3-9e6f-371df5321836.gif)
|
|
|
|
|
2022-10-23 16:35:39 +02:00
|
|
|
However, you can resize the master window.
|
2022-08-12 20:46:36 +02:00
|
|
|
|
|
|
|
![master2](https://user-images.githubusercontent.com/43317083/179357863-928b0b5a-ff10-4edc-aa76-3ff88c59c980.gif)
|
|
|
|
|
|
|
|
# Config
|
|
|
|
|
2022-10-23 16:35:39 +02:00
|
|
|
_category name `master`_
|
2022-08-12 20:46:36 +02:00
|
|
|
|
2022-08-13 17:59:01 +02:00
|
|
|
| name | description | type | default |
|
2022-11-30 11:15:36 +01:00
|
|
|
|---|---|---|---|
|
2022-08-13 17:59:01 +02:00
|
|
|
| special_scale_factor | (0.0 - 1.0) the scale of the special workspace windows | float | 0.8 |
|
2022-11-30 11:15:36 +01:00
|
|
|
| new_is_master | whether a newly open window should replace the master or join the slaves. | bool | true |
|
2022-08-13 17:59:01 +02:00
|
|
|
| new_on_top | whether a newly open window should be on the top of the stack | bool | false |
|
|
|
|
| no_gaps_when_only | whether to apply gaps when there is only one window on a workspace, aka. smart gaps. | bool | false |
|
2022-08-12 20:46:36 +02:00
|
|
|
|
2022-10-23 16:35:39 +02:00
|
|
|
# Dispatchers
|
2022-08-12 20:46:36 +02:00
|
|
|
|
|
|
|
`layoutmsg` params:
|
|
|
|
|
2022-08-13 17:59:01 +02:00
|
|
|
| param | description |
|
|
|
|
| --- | --- |
|
2022-11-20 12:55:37 +01:00
|
|
|
| swapwithmaster | swaps the current window with master. If the current window is the master, swaps it with the first child. |
|
|
|
|
| focusmaster | focuses the master window. If the current window is the master, focuses the first child. |
|
2022-08-13 17:59:01 +02:00
|
|
|
| cyclenext | focuses the next window respecting the layout |
|
|
|
|
| cycleprev | focuses the previous window respecting the layout |
|
2022-08-24 22:02:41 +02:00
|
|
|
| swapnext | swaps the focused window with the next window respecting the layout |
|
|
|
|
| swapprev | swaps the focused window with the previous window respecting the layout |
|
2022-11-08 13:41:24 +01:00
|
|
|
| addmaster | adds a master to the master side. That will be the active window, if it's not a master, or the first non-master window. |
|
|
|
|
| removemaster | removes a master from the master side. That will be the active window, if it's a master, or the last master window. |
|
2022-08-12 20:46:36 +02:00
|
|
|
|
2022-08-13 17:59:01 +02:00
|
|
|
{{< hint type=info >}}
|
2022-08-12 20:46:36 +02:00
|
|
|
example usage:
|
|
|
|
|
2022-09-24 16:03:37 +02:00
|
|
|
```ini
|
2022-08-12 20:46:36 +02:00
|
|
|
bind=MOD,KEY,layoutmsg,cyclenext
|
2022-08-13 01:47:48 +02:00
|
|
|
```
|
2022-10-23 16:35:39 +02:00
|
|
|
|
2022-08-13 17:59:01 +02:00
|
|
|
{{< /hint >}}
|