Skip to content

Commit 1c46a73

Browse files
authored
Merge pull request #31 from IlyaKotomin/main
Update widgets.md
2 parents 4dc2618 + c8bf583 commit 1c46a73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/docs/config/widgets.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ the toplevel widget that holds everything
152152
| anchor | `string[]` | Valid values are `"top"`, `"bottom"`, `"left"`, `"right"`. Anchor points of the window. Leave it empty to make it centered. |
153153
| exclusivity | `string` | Specify if the compositor should reserve space for the window automatically or how the window should interact with windows that do. Possible values: `exclusive` (space should be reserved), `normal` (the window should move if occluding another), `ignore` (the window should not be moved). Default: `normal`. |
154154
| layer | `string` | Valid values are `"overlay"`, `"top"`, `"bottom"`, `"background"`. It is `"top"` by default. |
155-
| margins | `number[]` | Corresponds to CSS notation, e.g `[0, 6]` would have 0 margin on the top and bottom and would have 6 on the right and left. |
155+
| margins | `number[]` | Corresponds to CSS notation: `[TOP, RIGHT, BOTTOM, LEFT]`, also `[0, 6]` would have 0 margin on the top and bottom and would have 6 on the right and left. |
156156
| monitor | `number` | Which monitor to show the window on. If it is left undefined the window will show on the currently focused monitor. |
157157
| keymode | `string` | Valid values are `"none"`, `"on-demand"`: can receive keyboard input if focused, `"exclusive"`: steal keyboard input on top and overlay layers |
158158
| gdkmonitor | `Gdk.Monitor` | alternative to `monitor` |

0 commit comments

Comments
 (0)