From 994a479558a6b93e286ce03d6f00db3a3a9c6fcf Mon Sep 17 00:00:00 2001 From: Orestis Floros Date: Sat, 23 Sep 2017 13:09:08 +0300 Subject: [PATCH] userguide: mention in focus --- docs/userguide | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/userguide b/docs/userguide index 0258e2ab..98242a9b 100644 --- a/docs/userguide +++ b/docs/userguide @@ -1951,6 +1951,9 @@ bindsym $mod+t floating toggle To change focus, you can use the +focus+ command. The following options are available: +:: + Sets focus to the container that matches the specified criteria. + See <>. left|right|up|down:: Sets focus to the nearest container in the given direction. parent:: @@ -1970,6 +1973,7 @@ output:: *Syntax*: ---------------------------------------------- + focus focus left|right|down|up focus parent|child|floating|tiling|mode_toggle focus output left|right|up|down|primary| @@ -1977,6 +1981,9 @@ focus output left|right|up|down|primary| *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 -- 2.39.5