mirror of
https://github.com/hyprwm/hyprland-wiki.git
synced 2024-11-22 04:35:59 +01:00
add master orientation workspace rule (#406)
This commit is contained in:
parent
3c7847e446
commit
3b3e7e31c1
2 changed files with 15 additions and 0 deletions
|
@ -59,3 +59,17 @@ bind=MOD,KEY,layoutmsg,swapwithmaster master
|
|||
```
|
||||
|
||||
{{< /hint >}}
|
||||
|
||||
|
||||
# Workspace Rules
|
||||
|
||||
`layoutopt` rules:
|
||||
| rule | description | type |
|
||||
| --- | --- | --- |
|
||||
| orientation:[o] | Sets the orientation of a workspace. For available orientations, see [Config->orientation](#config) | string |
|
||||
|
||||
Example usage:
|
||||
|
||||
```ini
|
||||
workspace = 2, layoutopt:orientation:top
|
||||
```
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
# Workspace Rules
|
||||
You can set workspace rules to achieve workspace-specific behaviors. For instance, you can define a workspace where all windows are drawn without borders or gaps.
|
||||
|
||||
For layout-specific rules, see the specific layout page. For example: [Master Layout->Workspace Rules](../Master-Layout#workspace-rules)
|
||||
|
||||
## Syntax
|
||||
```ini
|
||||
|
|
Loading…
Reference in a new issue