]> git.sur5r.net Git - i3/i3.github.io/blobdiff - docs/i3bar-protocol.html
save docs for 4.14
[i3/i3.github.io] / docs / i3bar-protocol.html
index 3285613adc182d6ca8a4977abc1d6720a3201bd5..a9478fc3ac4fb4849c0ece3c2b5f98f0ce301200 100644 (file)
@@ -41,7 +41,7 @@ provides support for colors, urgency, shortening and easy manipulation.</p></div
 </div>\r
 </div>\r
 <div class="sect1">\r
-<h2 id="_rationale_for_chosing_json">1. Rationale for chosing JSON</h2>\r
+<h2 id="_rationale_for_choosing_json">1. Rationale for choosing JSON</h2>\r
 <div class="sectionbody">\r
 <div class="paragraph"><p>Before describing the protocol, let’s cover why JSON is a building block of\r
 this protocol.</p></div>\r
@@ -182,7 +182,7 @@ click_events
 </dt>\r
 <dd>\r
 <p>\r
-        If specified and true i3bar will write a infinite array (same as above)\r
+        If specified and true i3bar will write an infinite array (same as above)\r
         to your stdin.\r
 </p>\r
 </dd>\r
@@ -230,6 +230,22 @@ color
 </p>\r
 </dd>\r
 <dt class="hdlist1">\r
+background\r
+</dt>\r
+<dd>\r
+<p>\r
+        Overrides the background color for this particular block.\r
+</p>\r
+</dd>\r
+<dt class="hdlist1">\r
+border\r
+</dt>\r
+<dd>\r
+<p>\r
+        Overrides the border color for this particular block.\r
+</p>\r
+</dd>\r
+<dt class="hdlist1">\r
 min_width\r
 </dt>\r
 <dd>\r
@@ -340,6 +356,8 @@ used to set the minimum width:</p></div>
  "full_text": "E: 10.0.0.1 (1000 Mbit/s)",\r
  "short_text": "10.0.0.1",\r
  "color": "#00ff00",\r
+ "background": "#1c1c1c",\r
+ "border": "#ee0000",\r
  "min_width": 300,\r
  "align": "right",\r
  "urgent": false,\r
@@ -376,7 +394,7 @@ x, y
 </dt>\r
 <dd>\r
 <p>\r
-        X11 root window coordinates where the click occured\r
+        X11 root window coordinates where the click occurred\r
 </p>\r
 </dd>\r
 <dt class="hdlist1">\r