mirror of
https://github.com/hyprwm/hyprland-wiki.git
synced 2025-12-20 03:30:02 +01:00
undo merge in the wrong lines
This commit is contained in:
parent
e8a4a739bc
commit
07e6d858c8
1 changed files with 21 additions and 21 deletions
|
|
@ -62,10 +62,10 @@ To replicate "smart gaps" / "no gaps when only" from other WMs/Compositors, use
|
|||
```ini
|
||||
workspace = w[tv1], gapsout:0, gapsin:0
|
||||
workspace = f[1], gapsout:0, gapsin:0
|
||||
windowrule = match:float false, match:workspace w[tv1], border_size 0
|
||||
windowrule = match:float false, match:workspace w[tv1], rounding 0
|
||||
windowrule = match:float false, match:workspace f[1], border_size 0
|
||||
windowrule = match:float false, match:workspace f[1], rounding 0
|
||||
windowrule = border_size 0, match:float 0, match:workspace w[tv1]
|
||||
windowrule = rounding 0, match:float 0, match:workspacew[tv1]
|
||||
windowrule = border_size 0, match:float 0, match:workspacef[1]
|
||||
windowrule = rounding 0, match:float 0, match:workspacef[1]
|
||||
```
|
||||
|
||||
#### Smart gaps (ignoring special workspaces)
|
||||
|
|
@ -75,28 +75,28 @@ You can combine workspace selectors for more fine-grained control, for example,
|
|||
```ini
|
||||
workspace = w[tv1]s[false], gapsout:0, gapsin:0
|
||||
workspace = f[1]s[false], gapsout:0, gapsin:0
|
||||
windowrule = match:float false, match:workspace w[tv1]s[false], border_size 0
|
||||
windowrule = match:float false, match:workspace w[tv1]s[false], rounding 0
|
||||
windowrule = match:float false, match:workspace f[1]s[false], border_size 0
|
||||
windowrule = match:float false, match:workspace f[1]s[false], rounding 0
|
||||
windowrule = border_size 0, match:float 0, match:workspace w[tv1]s[false]
|
||||
windowrule = rounding 0, match:float 0, match:workspace w[tv1]s[false]
|
||||
windowrule = border_size 0, match:float 0, match:workspace f[1]s[false]
|
||||
windowrule = rounding 0, match:float 0, match:workspace f[1]s[false]
|
||||
```
|
||||
|
||||
## Rules
|
||||
|
||||
| Rule | Description | type |
|
||||
| --- | --- | --- |
|
||||
| monitor:[m] | Binds a workspace to a monitor. See [syntax](#syntax) and [Monitors](../Monitors). | string |
|
||||
| default:[b] | Whether this workspace should be the default workspace for the given monitor | bool |
|
||||
| gapsin:[x] | Set the gaps between windows (equivalent to [General->gaps_in](../Variables#general)) | int |
|
||||
| gapsout:[x] | Set the gaps between windows and monitor edges (equivalent to [General->gaps_out](../Variables#general)) | int |
|
||||
| border_size:[x] | Set the border size around windows (equivalent to [General->border_size](../Variables#general)) | int |
|
||||
| border:[b] | Whether to draw borders or not | bool |
|
||||
| shadow:[b] | Whether to draw shadows or not | bool |
|
||||
| rounding:[b] | Whether to draw rounded windows or not | bool |
|
||||
| decorate:[b] | Whether to draw window decorations or not | bool |
|
||||
| persistent:[b] | Keep this workspace alive even if empty and inactive | bool |
|
||||
| Rule | Description | type |
|
||||
| -------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------ |
|
||||
| monitor:[m] | Binds a workspace to a monitor. See [syntax](#syntax) and [Monitors](../Monitors). | string |
|
||||
| default:[b] | Whether this workspace should be the default workspace for the given monitor | bool |
|
||||
| gapsin:[x] | Set the gaps between windows (equivalent to [General->gaps_in](../Variables#general)) | int |
|
||||
| gapsout:[x] | Set the gaps between windows and monitor edges (equivalent to [General->gaps_out](../Variables#general)) | int |
|
||||
| border_size:[x] | Set the border size around windows (equivalent to [General->border_size](../Variables#general)) | int |
|
||||
| border:[b] | Whether to draw borders or not | bool |
|
||||
| shadow:[b] | Whether to draw shadows or not | bool |
|
||||
| rounding:[b] | Whether to draw rounded windows or not | bool |
|
||||
| decorate:[b] | Whether to draw window decorations or not | bool |
|
||||
| persistent:[b] | Keep this workspace alive even if empty and inactive | bool |
|
||||
| on-created-empty:[c] | A command to be executed once a workspace is created empty (i.e. not created by moving a window to it). See the [command syntax](../Dispatchers#executing-with-rules) | string |
|
||||
| defaultName:[s] | A default name for the workspace. | string |
|
||||
| defaultName:[s] | A default name for the workspace. | string |
|
||||
|
||||
### Example Rules
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue