]> git.sur5r.net Git - i3/i3.github.io/blobdiff - docs/ipc.html
repositories: s/wily/xenial
[i3/i3.github.io] / docs / ipc.html
index 57e5eb1b7de69919ad8a938bd16375aaa3daa790..9f55e32d4844e93f0de1785911d7dc45264d21c4 100644 (file)
@@ -4,7 +4,7 @@
 <head>\r
 <link rel="icon" type="image/x-icon" href="/favicon.ico">\r
 <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" />\r
-<meta name="generator" content="AsciiDoc 8.6.8" />\r
+<meta name="generator" content="AsciiDoc 8.6.9" />\r
 <title>i3: IPC interface (interprocess communication)</title>\r
 <link rel="stylesheet" href="/css/style.css" type="text/css" />\r
 <link rel="stylesheet" href="/css/xhtml11.css" type="text/css" />\r
@@ -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
@@ -947,44 +947,78 @@ separator
 </p>\r
 </dd>\r
 <dt class="hdlist1">\r
-focused_workspace_text/focused_workspace_bg\r
+focused_background\r
 </dt>\r
 <dd>\r
 <p>\r
-        Text color/background color for a workspace button when the workspace\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
+<p>\r
+        Text/background/border color for a workspace button when the workspace\r
         has focus.\r
 </p>\r
 </dd>\r
 <dt class="hdlist1">\r
-active_workspace_text/active_workspace_bg\r
+active_workspace_text/active_workspace_bg/active_workspace_border\r
 </dt>\r
 <dd>\r
 <p>\r
-        Text color/background color for a workspace button when the workspace\r
+        Text/background/border color for a workspace button when the workspace\r
         is active (visible) on some output, but the focus is on another one.\r
         You can only tell this apart from the focused workspace when you are\r
         using multiple monitors.\r
 </p>\r
 </dd>\r
 <dt class="hdlist1">\r
-inactive_workspace_text/inactive_workspace_bg\r
+inactive_workspace_text/inactive_workspace_bg/inactive_workspace_border\r
 </dt>\r
 <dd>\r
 <p>\r
-        Text color/background color for a workspace button when the workspace\r
+        Text/background/border color for a workspace button when the workspace\r
         does not have focus and is not active (visible) on any output. This\r
         will be the case for most workspaces.\r
 </p>\r
 </dd>\r
 <dt class="hdlist1">\r
-urgent_workspace_text/urgent_workspace_bar\r
+urgent_workspace_text/urgent_workspace_bg/urgent_workspace_border\r
 </dt>\r
 <dd>\r
 <p>\r
-        Text color/background color for workspaces which contain at least one\r
+        Text/background/border color for workspaces which contain at least one\r
         window with the urgency hint set.\r
 </p>\r
 </dd>\r
+<dt class="hdlist1">\r
+binding_mode_text/binding_mode_bg/binding_mode_border\r
+</dt>\r
+<dd>\r
+<p>\r
+        Text/background/border color for the binding mode indicator.\r
+</p>\r
+</dd>\r
 </dl></div>\r
 <div class="paragraph"><p><strong>Example of configured bars:</strong></p></div>\r
 <div class="listingblock">\r
@@ -1054,12 +1088,21 @@ human_readable (string)
         this is what <tt>i3 --version</tt> displays, too).\r
 </p>\r
 </dd>\r
+<dt class="hdlist1">\r
+loaded_config_file_name (string)\r
+</dt>\r
+<dd>\r
+<p>\r
+        The current config path.\r
+</p>\r
+</dd>\r
 </dl></div>\r
 <div class="paragraph"><p><strong>Example:</strong></p></div>\r
 <div class="listingblock">\r
 <div class="content">\r
 <pre><tt>{\r
    "human_readable" : "4.2-169-gf80b877 (2012-08-05, branch \"next\")",\r
+   "loaded_config_file_name" : "/home/hwangcc23/.i3/config",\r
    "minor" : 2,\r
    "patch" : 0,\r
    "major" : 4\r
@@ -1221,11 +1264,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
@@ -1315,11 +1362,11 @@ command (string)
 </p>\r
 </dd>\r
 <dt class="hdlist1">\r
-mods (array of strings)\r
+event_state_mask (array of strings)\r
 </dt>\r
 <dd>\r
 <p>\r
-        The modifier keys that were configured with this binding.\r
+        The group and modifier keys that were configured with this binding.\r
 </p>\r
 </dd>\r
 <dt class="hdlist1">\r
@@ -1358,7 +1405,7 @@ input_type (string)
  "change": "run",\r
  "binding": {\r
   "command": "nop",\r
-  "mods": [\r
+  "event_state_mask": [\r
     "shift",\r
     "ctrl"\r
   ],\r
@@ -1396,6 +1443,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
@@ -1472,7 +1531,24 @@ Ruby
 <div class="ulist"><ul>\r
 <li>\r
 <p>\r
-<a href="http://github.com/badboy/i3-ipc">http://github.com/badboy/i3-ipc</a>\r
+<a href="https://github.com/veelenga/i3ipc-ruby">https://github.com/veelenga/i3ipc-ruby</a>\r
+</p>\r
+</li>\r
+<li>\r
+<p>\r
+<a href="https://github.com/badboy/i3-ipc">https://github.com/badboy/i3-ipc</a> (not maintained)\r
+</p>\r
+</li>\r
+</ul></div>\r
+</dd>\r
+<dt class="hdlist1">\r
+Rust\r
+</dt>\r
+<dd>\r
+<div class="ulist"><ul>\r
+<li>\r
+<p>\r
+<a href="https://github.com/tmerr/i3ipc-rs">https://github.com/tmerr/i3ipc-rs</a>\r
 </p>\r
 </li>\r
 </ul></div>\r