Skip to content

Commit 8930d54

Browse files
committed
modified: docs/guide.md
1 parent e799cb3 commit 8930d54

File tree

2 files changed

+37
-9
lines changed

2 files changed

+37
-9
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
/.build
33
# IDK, AppCode randomly creates this EMPTY file. I have no idea what this is
44
/default.profraw
5+
/.DS_Store
56

67
# XCode User settings
78
xcuserdata/

docs/guide.md

+36-9
Original file line numberDiff line numberDiff line change
@@ -123,10 +123,14 @@ enable-normalization-opposite-orientation-for-nested-containers = false
123123
```
124124

125125
### Floating windows
126-
TODO DOCUMENTATION
127126

128-
Normally, floating windows are not part of the tiling tree. But it's not the case with `focus` command. From `focus` command
129-
perspective, floating windows are part of the tree.
127+
Normally, floating windows are not considered to be part of the [tiling tree](#tree). But it's not the case with
128+
[`focus`](./commands.md#focus) command.
129+
130+
From [`focus`](./commands.md#focus) command perspective, floating windows are part of [the tree](#tree). The floating window
131+
parent is determined as the smallest tiling container that contains the center of the floating window.
132+
133+
This technique eliminates the need for an additional binding for focusing floating windows.
130134

131135
## Default keybindings
132136

@@ -150,14 +154,38 @@ AeroSpace is controlled by commands. For more info see [the list of all availabl
150154

151155
## Emulation of virtual workspaces
152156

153-
The supposed workflow is to only have one macOS Space (or as many as monitors you have) and don't interact with macOS spaces in
154-
any way
157+
Native macOS Spaces have a lot of problems.
158+
159+
- The animation for Spaces switching is slow
160+
- You can't disable animation for Spaces switching (you can only make it slightly faster by turning on `Reduce motion` setting,
161+
but it's suboptimal)
162+
- You have a limit of Spaces (up to 16 Spaces with one monitor)
163+
- You can't create, delete, reorder Spaces with hotkeys
164+
- Apple doesn't provide public API to create, delete, reorder and switch Spaces
165+
166+
Since Spaces are so hard to deal with, AeroSpace introduces it's own concept - workspaces. Basically, workspaces are an emulation
167+
of Spaces. If the workspace isn't active then all of the windows of that workspace are placed outside of the visible area of the
168+
screen. Once you switch back to a workspace, (by the means of binding, or by choosing the workspace in the tray icon list) windows
169+
are placed back to the visible area of the screen.
155170

156-
When user quits AeroSpace or before crashing, AeroSpace puts windows back to the center of the screen
171+
When you exit the AeroSpace or when the AeroSpace is about to crash, AeroSpace will place all windows back to the visible area of
172+
the screen.
173+
174+
> [!NOTE]
175+
> For better or worse, macOS doesn't allow to place windows outside of the visible area entirely. You will still be able to see a
176+
> few pixels of "hidden" windows in the bottom right corner of your screen. That means, that if AeroSpace crashes badly you will
177+
> still be able to manually "unhide" the windows by dragging these few pixels to the center of the screen.
178+
179+
The supposed workflow is to only have one macOS Space (or as many as monitors you have, if 'Displays have separate Spaces' is
180+
enabled) and don't interact with macOS Spaces anymore.
157181

158182
### A note on mission control
159-
TODO DOCUMENTATION
160-
Enable 'Group windows by application'
183+
184+
For some reason, mission control doesn't like that AeroSpace puts a lot of windows in the bottom right corner of the screen.
185+
Mission control shows windows too small even if it has enough space to show them bigger.
186+
187+
To workaround it, you can enable `System Settings -> Desktop & Dock -> Group windows by application` setting. For some weird
188+
reason, it helps.
161189

162190
### A note on 'Displays have separate Spaces'
163191

@@ -174,6 +202,5 @@ Overview of 'Displays have separate Spaces'
174202

175203

176204
## Multiple displays
177-
TODO DOCUMENTATION
178205
TODO DOCUMENTATION. Add difference with i3
179206

0 commit comments

Comments
 (0)