diff options
Diffstat (limited to 'docs/userguide')
-rw-r--r-- | docs/userguide | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/docs/userguide b/docs/userguide index 120e4b90..7fe0b9af 100644 --- a/docs/userguide +++ b/docs/userguide @@ -2397,6 +2397,9 @@ available: <criteria>:: Sets focus to the container that matches the specified criteria. See <<command_criteria>>. +workspace:: + Sets focus to the workspace that contains the container that matches the + specified criteria. left|right|up|down:: Sets focus to the nearest container in the given direction. parent:: @@ -2423,6 +2426,7 @@ output:: *Syntax*: ---------------------------------------------- <criteria> focus +<criteria> focus workspace focus left|right|down|up focus parent|child|floating|tiling|mode_toggle focus next|prev [sibling] @@ -2434,6 +2438,10 @@ focus output left|right|down|up|current|primary|nonprimary|next|<output1> [outpu # Focus firefox bindsym $mod+F1 [class="Firefox"] focus +# Focus the workspace where firefox is, without necessarily focusing firefox +# itself. +bindsym $mod+x [class="Firefox"] focus workspace + # Focus container on the left, bottom, top, right bindsym $mod+j focus left bindsym $mod+k focus down @@ -2462,7 +2470,7 @@ bindsym $mod+x focus output primary bindsym $mod+x focus output nonprimary # Cycle focus between outputs VGA1 and LVDS1 but not DVI0 -bindsym $mod+x move workspace to output VGA1 LVDS1 +bindsym $mod+x focus output VGA1 LVDS1 ------------------------------------------------- Note that you might not have a primary output configured yet. To do so, run: |