Typo and usage fixes in documentation and comments.

This commit is contained in:
Eric S. Raymond 2013-04-07 10:56:20 -04:00 committed by Michael Stapelberg
parent 921967c729
commit d0fbc10aca
3 changed files with 17 additions and 16 deletions

View File

@ -57,7 +57,7 @@ all, most users sooner or later tend to lay out their windows in a way which
corresponds to tiling or stacking mode in i3. Therefore, why not let i3 do this corresponds to tiling or stacking mode in i3. Therefore, why not let i3 do this
for you? Certainly, its faster than you could ever do it. for you? Certainly, its faster than you could ever do it.
The problem with most tiling window managers is that they are too unflexible. The problem with most tiling window managers is that they are too inflexible.
In my opinion, a window manager is just another tool, and similar to vim which In my opinion, a window manager is just another tool, and similar to vim which
can edit all kinds of text files (like source code, HTML, …) and is not limited can edit all kinds of text files (like source code, HTML, …) and is not limited
to a specific file type, a window manager should not limit itself to a certain to a specific file type, a window manager should not limit itself to a certain
@ -361,7 +361,7 @@ managed at all:
* The override_redirect must not be set. Windows with override_redirect shall * The override_redirect must not be set. Windows with override_redirect shall
not be managed by a window manager not be managed by a window manager
Afterwards, i3 gets the intial geometry and reparents the window (see Afterwards, i3 gets the initial geometry and reparents the window (see
`reparent_window()`) if it wasnt already managed. `reparent_window()`) if it wasnt already managed.
Reparenting means that for each window which is reparented, a new window, Reparenting means that for each window which is reparented, a new window,
@ -383,7 +383,7 @@ target workspace is not visible, the window will not be mapped.
== What happens when an application is started? == What happens when an application is started?
i3 does not care for applications. All it notices is when new windows are i3 does not care about applications. All it notices is when new windows are
mapped (see `src/handlers.c`, `handle_map_request()`). The window is then mapped (see `src/handlers.c`, `handle_map_request()`). The window is then
reparented (see section "Manage windows"). reparented (see section "Manage windows").
@ -534,7 +534,7 @@ position/size is different: They are placed next to each other on a single line
==== Dock area layout ==== Dock area layout
This is a special case. Users cannot chose the dock area layout, but it will be This is a special case. Users cannot choose the dock area layout, but it will be
set for the dock area containers. In the dockarea layout (at the moment!), set for the dock area containers. In the dockarea layout (at the moment!),
windows will be placed above each other. windows will be placed above each other.

View File

@ -26,8 +26,8 @@ are your homerow.
== Using i3 == Using i3
Throughout this guide, the keyword +$mod+ will be used to refer to the Throughout this guide, the keyword +$mod+ will be used to refer to the
configured modifier. This is the Alt key (Mod1) by default, with windows (Mod4) configured modifier. This is the Alt key (Mod1) by default, with the Windows
being a popular alternative. key (Mod4) being a popular alternative.
=== Opening terminals and moving around === Opening terminals and moving around
@ -156,11 +156,12 @@ To cleanly exit i3 without killing your X server, you can use +$mod+Shift+e+.
=== Floating === Floating
Floating mode is the opposite of tiling mode. The position and size of a window Floating mode is the opposite of tiling mode. The position and size of
are not managed by i3, but by you. Using this mode violates the tiling a window are not managed automatically by i3, but manually by
paradigm but can be useful for some corner cases like "Save as" dialog you. Using this mode violates the tiling paradigm but can be useful
windows, or toolbar windows (GIMP or similar). Those windows usually set the for some corner cases like "Save as" dialog windows, or toolbar
appropriate hint and are opened in floating mode by default. windows (GIMP or similar). Those windows usually set the appropriate
hint and are opened in floating mode by default.
You can toggle floating mode for a window by pressing +$mod+Shift+Space+. By You can toggle floating mode for a window by pressing +$mod+Shift+Space+. By
dragging the windows titlebar with your mouse you can move the window dragging the windows titlebar with your mouse you can move the window
@ -259,7 +260,7 @@ other one being the terminal window you moved down.
[[configuring]] [[configuring]]
== Configuring i3 == Configuring i3
This is where the real fun begins ;-). Most things are very dependant on your This is where the real fun begins ;-). Most things are very dependent on your
ideal working environment so we cant make reasonable defaults for them. ideal working environment so we cant make reasonable defaults for them.
While not using a programming language for the configuration, i3 stays While not using a programming language for the configuration, i3 stays
@ -761,7 +762,7 @@ from single windows outside of a split container.
=== Interprocess communication === Interprocess communication
i3 uses unix sockets to provide an IPC interface. This allows third-party i3 uses Unix sockets to provide an IPC interface. This allows third-party
programs to get information from i3, such as the current workspaces programs to get information from i3, such as the current workspaces
(to display a workspace bar), and to control i3. (to display a workspace bar), and to control i3.
@ -1223,7 +1224,7 @@ bindsym $mod+x move container to workspace 3; workspace 3
[[command_criteria]] [[command_criteria]]
Furthermore, you can change the scope of a command, that is, which containers Furthermore, you can change the scope of a command - that is, which containers
should be affected by that command, by using various criteria. These are should be affected by that command, by using various criteria. These are
prefixed in square brackets to every command. If you want to kill all windows prefixed in square brackets to every command. If you want to kill all windows
which have the class Firefox, use: which have the class Firefox, use:

View File

@ -13,7 +13,7 @@
* We use a hand-written parser instead of lex/yacc because our commands are * We use a hand-written parser instead of lex/yacc because our commands are
* easy for humans, not for computers. Thus, its quite hard to specify a * easy for humans, not for computers. Thus, its quite hard to specify a
* context-free grammar for the commands. A PEG grammar would be easier, but * context-free grammar for the commands. A PEG grammar would be easier, but
* theres downsides to every PEG parser generator I have come accross so far. * theres downsides to every PEG parser generator I have come across so far.
* *
* This parser is basically a state machine which looks for literals or strings * This parser is basically a state machine which looks for literals or strings
* and can push either on a stack. After identifying a literal or string, it * and can push either on a stack. After identifying a literal or string, it