]> git.sur5r.net Git - i3/i3.github.io/blobdiff - docs/ipc.html
add dummy comment to trigger a page build
[i3/i3.github.io] / docs / ipc.html
index 75e6e83b46190aabcfc90ce0c405c93592f59b16..39f6182959aa8b4e95e8ae52e7dfb05daaaf683e 100644 (file)
@@ -22,7 +22,7 @@ document.addEventListener("DOMContentLoaded", function(){asciidoc.footnotes(); a
                         <ul id="nav">\r
                                 <li><a style="border-bottom: 2px solid #fff" href="/docs">Docs</a></li>\r
                                 <li><a href="/screenshots">Screens</a></li>\r
-                                <li><a href="https://faq.i3wm.org/">FAQ</a></li>\r
+                                <li><a href="https://www.reddit.com/r/i3wm/">FAQ</a></li>\r
                                 <li><a href="/contact">Contact</a></li>\r
                                 <li><a href="https://github.com/i3/i3/issues">Bugs</a></li>\r
                         </ul>\r
@@ -170,6 +170,14 @@ GET_VERSION (7)
         with the major, minor, patch and human-readable version.\r
 </p>\r
 </dd>\r
+<dt class="hdlist1">\r
+GET_BINDING_MODES (8)\r
+</dt>\r
+<dd>\r
+<p>\r
+        Gets a list of currently configured binding modes.\r
+</p>\r
+</dd>\r
 </dl></div>\r
 <div class="paragraph"><p>So, a typical message could look like this:</p></div>\r
 <div class="listingblock">\r
@@ -276,6 +284,14 @@ VERSION (7)
         Reply to the GET_VERSION message.\r
 </p>\r
 </dd>\r
+<dt class="hdlist1">\r
+BINDING_MODES (8)\r
+</dt>\r
+<dd>\r
+<p>\r
+        Reply to the GET_BINDING_MODES message.\r
+</p>\r
+</dd>\r
 </dl></div>\r
 </div>\r
 <div class="sect2">\r
@@ -515,7 +531,7 @@ border (string)
 </dt>\r
 <dd>\r
 <p>\r
-        Can be either "normal", "none" or "1pixel", dependending on the\r
+        Can be either "normal", "none" or "pixel", depending on the\r
         container’s border style.\r
 </p>\r
 </dd>\r
@@ -947,6 +963,32 @@ separator
 </p>\r
 </dd>\r
 <dt class="hdlist1">\r
+focused_background\r
+</dt>\r
+<dd>\r
+<p>\r
+        Background color of the bar on the currently focused monitor output.\r
+</p>\r
+</dd>\r
+<dt class="hdlist1">\r
+focused_statusline\r
+</dt>\r
+<dd>\r
+<p>\r
+        Text color to be used for the statusline on the currently focused\r
+        monitor output.\r
+</p>\r
+</dd>\r
+<dt class="hdlist1">\r
+focused_separator\r
+</dt>\r
+<dd>\r
+<p>\r
+        Text color to be used for the separator on the currently focused\r
+        monitor output.\r
+</p>\r
+</dd>\r
+<dt class="hdlist1">\r
 focused_workspace_text/focused_workspace_bg/focused_workspace_border\r
 </dt>\r
 <dd>\r
@@ -1083,6 +1125,15 @@ loaded_config_file_name (string)
 }</tt></pre>\r
 </div></div>\r
 </div>\r
+<div class="sect2">\r
+<h3 id="_binding_modes_reply">3.10. BINDING_MODES reply</h3>\r
+<div class="paragraph"><p>The reply consists of an array of all currently configured binding modes.</p></div>\r
+<div class="paragraph"><p><strong>Example:</strong></p></div>\r
+<div class="listingblock">\r
+<div class="content">\r
+<pre><tt>["default", "resize"]</tt></pre>\r
+</div></div>\r
+</div>\r
 </div>\r
 </div>\r
 <div class="sect1">\r
@@ -1238,11 +1289,15 @@ property.</p></div>
 <div class="paragraph"><p>This event consists of a single serialized map containing a property\r
 <tt>change (string)</tt> which holds the name of current mode in use. The name\r
 is the same as specified in config when creating a mode. The default\r
-mode is simply named default.</p></div>\r
+mode is simply named default. It contains a second property, <tt>pango_markup</tt>, which\r
+defines whether pango markup shall be used for displaying this mode.</p></div>\r
 <div class="paragraph"><p><strong>Example:</strong></p></div>\r
 <div class="listingblock">\r
 <div class="content">\r
-<pre><tt>{ "change": "default" }</tt></pre>\r
+<pre><tt>{\r
+  "change": "default",\r
+  "pango_markup": true\r
+}</tt></pre>\r
 </div></div>\r
 </div>\r
 <div class="sect2">\r
@@ -1252,42 +1307,47 @@ mode is simply named default.</p></div>
 <div class="ulist"><ul>\r
 <li>\r
 <p>\r
-<tt>new</tt> - the window has become managed by i3\r
+<tt>new</tt> – the window has become managed by i3\r
+</p>\r
+</li>\r
+<li>\r
+<p>\r
+<tt>close</tt> – the window has closed\r
 </p>\r
 </li>\r
 <li>\r
 <p>\r
-<tt>close</tt> - the window has closed\r
+<tt>focus</tt> – the window has received input focus\r
 </p>\r
 </li>\r
 <li>\r
 <p>\r
-<tt>focus</tt> - the window has received input focus\r
+<tt>title</tt> – the window&#8217;s title has changed\r
 </p>\r
 </li>\r
 <li>\r
 <p>\r
-<tt>title</tt> - the window&#8217;s title has changed\r
+<tt>fullscreen_mode</tt> – the window has entered or exited fullscreen mode\r
 </p>\r
 </li>\r
 <li>\r
 <p>\r
-<tt>fullscreen_mode</tt> - the window has entered or exited fullscreen mode\r
+<tt>move</tt> – the window has changed its position in the tree\r
 </p>\r
 </li>\r
 <li>\r
 <p>\r
-<tt>move</tt> - the window has changed its position in the tree\r
+<tt>floating</tt> – the window has transitioned to or from floating\r
 </p>\r
 </li>\r
 <li>\r
 <p>\r
-<tt>floating</tt> - the window has transitioned to or from floating\r
+<tt>urgent</tt> – the window has become urgent or lost its urgent status\r
 </p>\r
 </li>\r
 <li>\r
 <p>\r
-<tt>urgent</tt> - the window has become urgent or lost its urgent status\r
+<tt>mark</tt> – a mark has been added to or removed from the window\r
 </p>\r
 </li>\r
 </ul></div>\r
@@ -1413,6 +1473,18 @@ i3 includes a headerfile <tt>i3/ipc.h</tt> which provides you all constants.
 </ul></div>\r
 </dd>\r
 <dt class="hdlist1">\r
+C++\r
+</dt>\r
+<dd>\r
+<div class="ulist"><ul>\r
+<li>\r
+<p>\r
+<a href="https://github.com/drmgc/i3ipcpp">https://github.com/drmgc/i3ipcpp</a>\r
+</p>\r
+</li>\r
+</ul></div>\r
+</dd>\r
+<dt class="hdlist1">\r
 Go\r
 </dt>\r
 <dd>\r