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 <<floating_modifier>>.
for_window [title="x200: ~/work"] floating enable
------------------------------------------------
+The valid criteria are the same as those for commands, see <<command_criteria>>.
+
=== Variables
As you learned in the section about keyboard bindings, you will have
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
paradigm but can be useful for some corner cases like "Save as" dialog\r
windows, or toolbar windows (GIMP or similar). Those windows usually set the\r
appropriate hint and are opened in floating mode by default.</p></div>\r
-<div class="paragraph"><p>You can enable floating mode for a window by pressing <tt>mod+Shift+Space</tt>. By\r
+<div class="paragraph"><p>You can toggle floating mode for a window by pressing <tt>mod+Shift+Space</tt>. By\r
dragging the window’s titlebar with your mouse you can move the window\r
around. By grabbing the borders and moving them you can resize the window. You\r
can also do that by using the <a href="#floating_modifier">[floating_modifier]</a>.</p></div>\r
# directory to ~/work\r
for_window [title="x200: ~/work"] floating enable</tt></pre>\r
</div></div>\r
+<div class="paragraph"><p>The valid criteria are the same as those for commands, see <a href="#command_criteria">[command_criteria]</a>.</p></div>\r
</div>\r
<div class="sect2">\r
<h3 id="_variables">4.9. Variables</h3>\r
<div class="content">\r
<pre><tt>bindsym mod+x move workspace 3; workspace 3</tt></pre>\r
</div></div>\r
-<div class="paragraph"><p>Furthermore, you can change the scope of a command, that is, which containers\r
+<div class="paragraph" id="command_criteria"><p>Furthermore, you can change the scope of a command, that is, which containers\r
should be affected by that command, by using various criteria. These are\r
prefixed in square brackets to every command. If you want to kill all windows\r
which have the class Firefox, use:</p></div>\r
paradigm but can be useful for some corner cases like "Save as" dialog\r
windows, or toolbar windows (GIMP or similar). Those windows usually set the\r
appropriate hint and are opened in floating mode by default.</p></div>\r
-<div class="paragraph"><p>You can enable floating mode for a window by pressing <tt>mod+Shift+Space</tt>. By\r
+<div class="paragraph"><p>You can toggle floating mode for a window by pressing <tt>mod+Shift+Space</tt>. By\r
dragging the window’s titlebar with your mouse you can move the window\r
around. By grabbing the borders and moving them you can resize the window. You\r
can also do that by using the <a href="#floating_modifier">[floating_modifier]</a>.</p></div>\r
# directory to ~/work\r
for_window [title="x200: ~/work"] floating enable</tt></pre>\r
</div></div>\r
+<div class="paragraph"><p>The valid criteria are the same as those for commands, see <a href="#command_criteria">[command_criteria]</a>.</p></div>\r
</div>\r
<div class="sect2">\r
<h3 id="_variables">4.9. Variables</h3>\r
<div class="content">\r
<pre><tt>bindsym mod+x move workspace 3; workspace 3</tt></pre>\r
</div></div>\r
-<div class="paragraph"><p>Furthermore, you can change the scope of a command, that is, which containers\r
+<div class="paragraph" id="command_criteria"><p>Furthermore, you can change the scope of a command, that is, which containers\r
should be affected by that command, by using various criteria. These are\r
prefixed in square brackets to every command. If you want to kill all windows\r
which have the class Firefox, use:</p></div>\r