]> git.sur5r.net Git - i3/i3/commitdiff
userguide: mention <criteria> in focus
authorOrestis Floros <orestisf1993@gmail.com>
Sat, 23 Sep 2017 10:09:08 +0000 (13:09 +0300)
committerOrestis Floros <orestisf1993@gmail.com>
Mon, 11 Dec 2017 17:14:33 +0000 (19:14 +0200)
docs/userguide

index 0258e2ab78e82ef8942130938897cf6b7cd3ca48..98242a9b0921af154266aaf65a79d1c92b2dc53b 100644 (file)
@@ -1951,6 +1951,9 @@ bindsym $mod+t floating toggle
 To change focus, you can use the +focus+ command. The following options are
 available:
 
+<criteria>::
+    Sets focus to the container that matches the specified criteria.
+    See <<command_criteria>>.
 left|right|up|down::
         Sets focus to the nearest container in the given direction.
 parent::
@@ -1970,6 +1973,7 @@ output::
 
 *Syntax*:
 ----------------------------------------------
+<criteria> focus
 focus left|right|down|up
 focus parent|child|floating|tiling|mode_toggle
 focus output left|right|up|down|primary|<output>
@@ -1977,6 +1981,9 @@ focus output left|right|up|down|primary|<output>
 
 *Examples*:
 -------------------------------------------------
+# Focus firefox
+bindsym $mod+F1 [class="Firefox"] focus
+
 # Focus container on the left, bottom, top, right
 bindsym $mod+j focus left
 bindsym $mod+k focus down