<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>i3 FAQ - Individual question feed</title><link>https://faq.i3wm.org/questions/</link><description>Frequently asked questions and answers about the i3 window manager</description><atom:link href="http://faq.i3wm.org/feeds/question/2328/" rel="self"></atom:link><language>en</language><copyright>Copyright i3, 2012</copyright><lastBuildDate>Tue, 17 Jun 2014 13:54:14 +0000</lastBuildDate><item><title>click events</title><link>https://faq.i3wm.org/question/2328/click-events/</link><description>The information regarding 'click events' is rather sparse.
See bottom of http://i3wm.org/docs/i3bar-protocol.html

How can one make use of this new (i3-4.6) feature? Does it mean that one can generate events when clicked on a certain part of the status bar?</description><pubDate>Thu, 08 Aug 2013 09:34:09 +0000</pubDate><guid>https://faq.i3wm.org/question/2328/click-events/</guid></item><item><title>Comment by Ultrabug for &lt;p&gt;The information regarding 'click events' is rather sparse.
See bottom of &lt;a href="http://i3wm.org/docs/i3bar-protocol.html"&gt;http://i3wm.org/docs/i3bar-protocol.html&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;How can one make use of this new (i3-4.6) feature? Does it mean that one can generate events when clicked on a certain part of the status bar?&lt;/p&gt;
</title><link>https://faq.i3wm.org/question/2328/click-events/?comment=3239#comment-3239</link><description>@teto : you can now do it using py3status as described here : https://github.com/ultrabug/py3status/wiki/handle-i3status-and-i3bar-click-events</description><pubDate>Wed, 15 Jan 2014 16:50:24 +0000</pubDate><guid>https://faq.i3wm.org/question/2328/click-events/?comment=3239#comment-3239</guid></item><item><title>Comment by phairland for &lt;p&gt;The information regarding 'click events' is rather sparse.
See bottom of &lt;a href="http://i3wm.org/docs/i3bar-protocol.html"&gt;http://i3wm.org/docs/i3bar-protocol.html&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;How can one make use of this new (i3-4.6) feature? Does it mean that one can generate events when clicked on a certain part of the status bar?&lt;/p&gt;
</title><link>https://faq.i3wm.org/question/2328/click-events/?comment=4008#comment-4008</link><description>@Ultrabug Thank you for your answer. I just post a question, unsure if you answered it already...</description><pubDate>Tue, 17 Jun 2014 12:55:11 +0000</pubDate><guid>https://faq.i3wm.org/question/2328/click-events/?comment=4008#comment-4008</guid></item><item><title>Comment by Ultrabug for &lt;p&gt;The information regarding 'click events' is rather sparse.
See bottom of &lt;a href="http://i3wm.org/docs/i3bar-protocol.html"&gt;http://i3wm.org/docs/i3bar-protocol.html&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;How can one make use of this new (i3-4.6) feature? Does it mean that one can generate events when clicked on a certain part of the status bar?&lt;/p&gt;
</title><link>https://faq.i3wm.org/question/2328/click-events/?comment=4010#comment-4010</link><description>@phairland : I just did, hope this help. Cheers.</description><pubDate>Tue, 17 Jun 2014 13:54:14 +0000</pubDate><guid>https://faq.i3wm.org/question/2328/click-events/?comment=4010#comment-4010</guid></item><item><title>Comment by Ultrabug for &lt;p&gt;The information regarding 'click events' is rather sparse.
See bottom of &lt;a href="http://i3wm.org/docs/i3bar-protocol.html"&gt;http://i3wm.org/docs/i3bar-protocol.html&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;How can one make use of this new (i3-4.6) feature? Does it mean that one can generate events when clicked on a certain part of the status bar?&lt;/p&gt;
</title><link>https://faq.i3wm.org/question/2328/click-events/?comment=4006#comment-4006</link><description>@phairland : AFAIK i3bar does not send any event message when you click on a blank part of your bar so the answer is no I'm afraid. If it did tho, it would be possible to implement it with the i3bar_click_events module ( https://github.com/ultrabug/py3status/wiki/handle-i3status-and-i3bar-click-events )</description><pubDate>Tue, 17 Jun 2014 12:36:23 +0000</pubDate><guid>https://faq.i3wm.org/question/2328/click-events/?comment=4006#comment-4006</guid></item><item><title>Comment by phairland for &lt;p&gt;The information regarding 'click events' is rather sparse.
See bottom of &lt;a href="http://i3wm.org/docs/i3bar-protocol.html"&gt;http://i3wm.org/docs/i3bar-protocol.html&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;How can one make use of this new (i3-4.6) feature? Does it mean that one can generate events when clicked on a certain part of the status bar?&lt;/p&gt;
</title><link>https://faq.i3wm.org/question/2328/click-events/?comment=4005#comment-4005</link><description>@Ultrabug Seen your py3status page, it only specifies mouse click on each module. Is there a way to handle a click event on any part of the i3bar, for example I got some empty space on my i3bar and I want to click on that and execute dmenu.</description><pubDate>Tue, 17 Jun 2014 12:31:11 +0000</pubDate><guid>https://faq.i3wm.org/question/2328/click-events/?comment=4005#comment-4005</guid></item><item><title>Comment by teto for &lt;p&gt;The information regarding 'click events' is rather sparse.
See bottom of &lt;a href="http://i3wm.org/docs/i3bar-protocol.html"&gt;http://i3wm.org/docs/i3bar-protocol.html&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;How can one make use of this new (i3-4.6) feature? Does it mean that one can generate events when clicked on a certain part of the status bar?&lt;/p&gt;
</title><link>https://faq.i3wm.org/question/2328/click-events/?comment=2391#comment-2391</link><description>I was willing to ask the same question. How to react on those clicks ? for instance I would like   to open wicd when clicking the network i3status part.</description><pubDate>Mon, 19 Aug 2013 11:57:22 +0000</pubDate><guid>https://faq.i3wm.org/question/2328/click-events/?comment=2391#comment-2391</guid></item><item><title>Answer by Michael for &lt;p&gt;The information regarding 'click events' is rather sparse.
See bottom of &lt;a href="http://i3wm.org/docs/i3bar-protocol.html"&gt;http://i3wm.org/docs/i3bar-protocol.html&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;How can one make use of this new (i3-4.6) feature? Does it mean that one can generate events when clicked on a certain part of the status bar?&lt;/p&gt;
 </title><link>https://faq.i3wm.org/question/2328/click-events/?answer=2340#post-id-2340</link><description>See the code if in doubt: http://code.stapelberg.de/git/i3/commit/?h=next&amp;id=58e68940f646e7f3a61d0e5128dfb5f4adef3df2

And/or contact the author (see above link).

Once you figure it out, the right thing to do is send a patch that improves the documentation.</description><pubDate>Sat, 10 Aug 2013 06:47:03 +0000</pubDate><guid>https://faq.i3wm.org/question/2328/click-events/?answer=2340#post-id-2340</guid></item><item><title>Answer by Ultrabug for &lt;p&gt;The information regarding 'click events' is rather sparse.
See bottom of &lt;a href="http://i3wm.org/docs/i3bar-protocol.html"&gt;http://i3wm.org/docs/i3bar-protocol.html&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;How can one make use of this new (i3-4.6) feature? Does it mean that one can generate events when clicked on a certain part of the status bar?&lt;/p&gt;
 </title><link>https://faq.i3wm.org/question/2328/click-events/?answer=2472#post-id-2472</link><description>i3bar sends those events (as JSON messages) to the stdin of the command specified in 'status_command' in your config which is responsible for displaying the content of your bar (usually i3status).

If the program above listens for them and can handle them, you can take advantage of those click events (which AFAIK i3status doesnt).

(disclamer : the part below is biased due to the fact that I'm the developer of py3status)

You can have a wrapper such as py3status take care of your i3status and bar seamlessly and benefit from click events easily. The provided modules examples can help you understand how, then everything is possible ! :)</description><pubDate>Mon, 02 Sep 2013 17:43:07 +0000</pubDate><guid>https://faq.i3wm.org/question/2328/click-events/?answer=2472#post-id-2472</guid></item></channel></rss>