Skip to content

Commit 59bfcf3

Browse files
authored
docs: improve container tree example in contributing guide (#917)
1 parent f227e1c commit 59bfcf3

File tree

1 file changed

+25
-24
lines changed

1 file changed

+25
-24
lines changed

CONTRIBUTING.md

+25-24
Original file line numberDiff line numberDiff line change
@@ -84,30 +84,31 @@ Windows in GlazeWM are organized within a tree hierarchy with the following "con
8484
Here's an example container tree:
8585

8686
```
87-
Root
88-
|
89-
+----------------+--------------+
90-
| |
91-
Monitor 1 Monitor 2
92-
| |
93-
+--------+------+ |
94-
| | Workspace 1
95-
Workspace 1 Workspace 2 |
96-
| | Split Container
97-
| | (vertical layout)
98-
+----|----+ Window |
99-
| | (Spotify) +------+------+
100-
| Window | |
101-
| (Terminal Window Window
102-
| floating) (Discord) (Slack)
103-
|
104-
Split Container
105-
(horizontal layout)
106-
|
107-
+-------------+
108-
| |
109-
Window Window
110-
(Chrome) (VS Code)
87+
Root
88+
|
89+
+----------------+----------------+
90+
| |
91+
Monitor 1 Monitor 2
92+
| |
93+
+--------+--------+ |
94+
| | |
95+
Workspace 1 Workspace 2 Workspace 3
96+
[horizontal] [vertical] [horizontal]
97+
| | |
98+
| | |
99+
+----+----+ Tiling Window +-----+-----+
100+
| | (Spotify) | |
101+
Tiling Window | Tiling Window Floating Window
102+
(Terminal) | (Discord) (Slack)
103+
|
104+
|
105+
Split Container
106+
[vertical]
107+
|
108+
+----+----+
109+
| |
110+
Tiling Window Tiling Window
111+
(Chrome) (VS Code)
111112
```
112113

113114
Windows can be either tiling (nested within split containers) or non-tiling (floating, minimized, maximized, or fullscreen). Non-tiling windows are always direct children of a workspace. Split containers can only have windows as children, and must have at least one child window.

0 commit comments

Comments
 (0)