commit 8836a34f3e093baccdffad21a993f8b14a0338ef
parent ff6465c1f92c49502eaf58facda7dd1efe4a65dc
Author: Ivan Tham <pickfire@riseup.net>
Date: Mon, 28 Sep 2015 10:37:45 +0800
[dwm] simplify tutorial to make it easier to learn
Diffstat:
1 file changed, 26 insertions(+), 7 deletions(-)
diff --git a/dwm.suckless.org/tutorial.md b/dwm.suckless.org/tutorial.md
@@ -14,21 +14,40 @@ By default there are 9 tags.
Window model
------------
-Launch a few terminals `[Shift]+[Alt]+[Enter]` and dwm will _tile_ the windows
+Launch a few terminals with `[Shift]+[Alt]+[Enter]` and dwm will _tile_ the windows
between the **master** and **stack**. A new terminal appears on the **master**
window. Existing windows are pushed upon a **stack** to the right of the
screen. `[Alt]+[Enter]` toggles windows between master and stack.
-To move a terminal pane/tile/window to another tag you select the window by
-hovering over the window. Then execute the bind `[Shift]+[Alt]+[2]` to move the
-window to the 2 tag. `[Alt]+[2]` moves your focus to tag 2.
+ +------+----------------------------------+--------+
+ | tags | title | status +
+ +------+---------------------+------------+--------+
+ | | |
+ | | |
+ | | |
+ | | |
+ | master | stack |
+ | | |
+ | | |
+ | | |
+ | | |
+ +----------------------------+---------------------+
+
+Moving Around
+-------------
+
+To **move to another terminal**, press `[Alt]+[j]` or `[Alt]+[k]`.
+
+To **move a terminal to another _tag_**, hover to the terminal and press `[Shift]+[Alt]+[2]`.
+
+To **focus on another _tag_**, press `[Shift]+[2]`.
+
+To **move a terminal to master or stack**, press `[Alt]+[d]` or `[Alt]+[i]`.
As stated in the dwm manpage, you can click tags with the left mouse button and simulating `[Alt]+[tag number]`, but you can also click another tag with the right mouse button in order to bring those windows additionally
into your current focus.
-To kill a window:
-
- [Shift]+[Alt]+[c]
+To **kill a window**, press `[Shift]+[Alt]+[c]`.
Layouts
-------