add master orientation workspace rule (#406)

This commit is contained in:
thejch 2023-12-02 06:43:13 -08:00 committed by GitHub
parent 3c7847e446
commit 3b3e7e31c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 0 deletions

View File

@ -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
```

View File

@ -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