From 1aa7eeb7009498579e2e9d976e24a928fbdbbcbc Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Mon, 29 Aug 2011 16:04:42 +0200 Subject: [PATCH] docs/userguide: state that mod+shift+space toggles, add link to criteria in for_window (Thanks Don) --- docs/userguide | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/userguide b/docs/userguide index 772fd4b8..27598bc1 100644 --- a/docs/userguide +++ b/docs/userguide @@ -160,7 +160,7 @@ paradigm but can be useful for some corner cases like "Save as" dialog windows, or toolbar windows (GIMP or similar). Those windows usually set the appropriate hint and are opened in floating mode by default. -You can enable floating mode for a window by pressing +mod+Shift+Space+. By +You can toggle floating mode for a window by pressing +mod+Shift+Space+. By dragging the window’s titlebar with your mouse you can move the window around. By grabbing the borders and moving them you can resize the window. You can also do that by using the <>. @@ -448,6 +448,8 @@ for_window [class="urxvt"] border 1pixel for_window [title="x200: ~/work"] floating enable ------------------------------------------------ +The valid criteria are the same as those for commands, see <>. + === Variables As you learned in the section about keyboard bindings, you will have @@ -709,6 +711,8 @@ the following keybinding: bindsym mod+x move workspace 3; workspace 3 ------------------------------------------- +[[command_criteria]] + Furthermore, you can change the scope of a command, that is, which containers should be affected by that command, by using various criteria. These are prefixed in square brackets to every command. If you want to kill all windows