]> git.sur5r.net Git - i3/i3.github.io/blobdiff - _docs/userguide
update userguide (Thanks Jan)
[i3/i3.github.io] / _docs / userguide
index 6941af91cf92af53d4a9ecf2e4edb265baf1dba9..158ed55321c1549bbad26b15a0e367f982945b08 100644 (file)
@@ -1,7 +1,7 @@
 i3 User’s Guide
 ===============
 Michael Stapelberg <michael+i3@stapelberg.de>
-July 2011
+August 2011
 
 This document contains all the information you need to configure and use the i3
 window manager. If it does not, please contact us on IRC (preferred) or post your
@@ -437,7 +437,7 @@ for_window [criteria] command
 *Examples*:
 ------------------------------------------------
 # enable floating mode for all XTerm windows
-for_window [class="XTerm"] mode floating
+for_window [class="XTerm"] floating enable
 
 # Make all urxvts use a 1-pixel border:
 for_window [class="urxvt"] border 1pixel
@@ -445,7 +445,7 @@ for_window [class="urxvt"] border 1pixel
 # A less useful, but rather funny example:
 # makes the window floating as soon as I change
 # directory to ~/work
-for_window [title="x200: ~/work"] mode floating
+for_window [title="x200: ~/work"] floating enable
 ------------------------------------------------
 
 === Variables
@@ -523,7 +523,7 @@ exec_always command
 
 *Examples*:
 --------------------------------
-exec i3status | dzen2 -dock
+exec i3status | i3bar -d
 exec_always ~/my_script.sh
 --------------------------------
 
@@ -572,12 +572,6 @@ client.unfocused::
        A client which is not the focused one of its container.
 client.urgent::
        A client which has its urgency hint activated.
-bar.focused::
-       The current workspace in the bottom bar.
-bar.unfocused::
-       All other workspaces in the bottom bar.
-bar.urgent::
-       A workspace which has at least one client with an activated urgency hint.
 
 You can also specify the color to be used to paint the background of the client
 windows. This color will be used to paint the window on top of which the client
@@ -686,9 +680,10 @@ split <vertical|horizontal>
 ---------------------------
 
 *Example*:
---------------
-split vertical
---------------
+------------------------------
+bindsym mod+v split vertical
+bindsym mod+h split horizontal
+------------------------------
 
 === Manipulating layout
 
@@ -794,11 +789,11 @@ mode "resize" {
         bindsym j resize shrink left
         bindsym Shift+j resize grow left
 
-        bindsym k resize grow bottom
-        bindsym Shift+k resize shrink bottom
+        bindsym k resize grow down
+        bindsym Shift+k resize shrink down
 
-        bindsym l resize shrink top
-        bindsym Shift+l resize grow top
+        bindsym l resize shrink up
+        bindsym Shift+l resize grow up
 
         bindsym semicolon resize grow right
         bindsym Shift+semicolon resize shrink right