<?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/2367/" rel="self"></atom:link><language>en</language><copyright>Copyright i3, 2012</copyright><lastBuildDate>Sun, 18 Aug 2013 15:11:32 +0000</lastBuildDate><item><title>check if workspace is free/empty</title><link>https://faq.i3wm.org/question/2367/check-if-workspace-is-freeempty/</link><description>Hello,

how can I "ask" i3wm if one workspace is free (no apps open)?
</description><pubDate>Sat, 17 Aug 2013 15:33:46 +0000</pubDate><guid>https://faq.i3wm.org/question/2367/check-if-workspace-is-freeempty/</guid></item><item><title>Answer by blendi for &lt;p&gt;Hello,&lt;/p&gt;

&lt;p&gt;how can I "ask" i3wm if one workspace is free (no apps open)?&lt;/p&gt;
 </title><link>https://faq.i3wm.org/question/2367/check-if-workspace-is-freeempty/?answer=2369#post-id-2369</link><description>Thank you for the replay,
but `i3-msg -t get_workspaces` works with one output verry well, but if i open another one `xrandr --output HDMI1 --auto --left-of LVDS1` I've got a new empty/unused workspace on HDMI1 and `i3-msg -t get_workspaces` doesn't tell me if this workspace is empty.</description><pubDate>Sat, 17 Aug 2013 18:19:36 +0000</pubDate><guid>https://faq.i3wm.org/question/2367/check-if-workspace-is-freeempty/?answer=2369#post-id-2369</guid></item><item><title>Answer by Michael for &lt;p&gt;Hello,&lt;/p&gt;

&lt;p&gt;how can I "ask" i3wm if one workspace is free (no apps open)?&lt;/p&gt;
 </title><link>https://faq.i3wm.org/question/2367/check-if-workspace-is-freeempty/?answer=2368#post-id-2368</link><description>http://i3wm.org/docs/ipc.html#_workspaces_reply

This information can be queried for a quick proof of concept using `i3-msg -t get_workspaces`</description><pubDate>Sat, 17 Aug 2013 17:01:32 +0000</pubDate><guid>https://faq.i3wm.org/question/2367/check-if-workspace-is-freeempty/?answer=2368#post-id-2368</guid></item><item><title>Comment by vandannen for &lt;p&gt;&lt;a href="http://i3wm.org/docs/ipc.html"&gt;http://i3wm.org/docs/ipc.html#&lt;/a&gt;&lt;em&gt;workspaces&lt;/em&gt;reply&lt;/p&gt;

&lt;p&gt;This information can be queried for a quick proof of concept using &lt;code&gt;i3-msg -t get_workspaces&lt;/code&gt;&lt;/p&gt;
</title><link>https://faq.i3wm.org/question/2367/check-if-workspace-is-freeempty/?comment=2374#comment-2374</link><description>if you want to get a list of opened windows for a particular workspace, you should check the tree reply: http://i3wm.org/docs/ipc.html#_tree_reply </description><pubDate>Sun, 18 Aug 2013 15:11:32 +0000</pubDate><guid>https://faq.i3wm.org/question/2367/check-if-workspace-is-freeempty/?comment=2374#comment-2374</guid></item><item><title>Comment by blendi for &lt;p&gt;&lt;a href="http://i3wm.org/docs/ipc.html"&gt;http://i3wm.org/docs/ipc.html#&lt;/a&gt;&lt;em&gt;workspaces&lt;/em&gt;reply&lt;/p&gt;

&lt;p&gt;This information can be queried for a quick proof of concept using &lt;code&gt;i3-msg -t get_workspaces&lt;/code&gt;&lt;/p&gt;
</title><link>https://faq.i3wm.org/question/2367/check-if-workspace-is-freeempty/?comment=2370#comment-2370</link><description>Thank you for the replay,
but `i3-msg -t get_workspaces` works only with one output verry well, but if i open another one `xrandr --output HDMI1 --auto --left-of LVDS1` I've got a new empty/unused workspace on HDMI1 and `i3-msg -t get_workspaces` doesn't tell me if this workspace is empty.</description><pubDate>Sat, 17 Aug 2013 18:19:58 +0000</pubDate><guid>https://faq.i3wm.org/question/2367/check-if-workspace-is-freeempty/?comment=2370#comment-2370</guid></item></channel></rss>