<?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/2682/" rel="self"></atom:link><language>en</language><copyright>Copyright i3, 2012</copyright><lastBuildDate>Mon, 14 Oct 2013 15:56:24 +0000</lastBuildDate><item><title>Modify properties of an existing window in-place</title><link>https://faq.i3wm.org/question/2682/modify-properties-of-an-existing-window-in-place/</link><description>Is there a way to modify the properties (such as the border style/size) of an existing window?

For instance, I have a floating window that I created while I had `new_window none` enabled, and now that I've reverted to `new_window normal`, I'd like to have this window redrawn with a border without closing and reopening it. Is this possible? I tried toggling floating mode, but the border remained the same.</description><pubDate>Fri, 11 Oct 2013 16:15:17 +0000</pubDate><guid>https://faq.i3wm.org/question/2682/modify-properties-of-an-existing-window-in-place/</guid></item><item><title>Answer by Michael for &lt;p&gt;Is there a way to modify the properties (such as the border style/size) of an existing window?&lt;/p&gt;

&lt;p&gt;For instance, I have a floating window that I created while I had &lt;code&gt;new_window none&lt;/code&gt; enabled, and now that I've reverted to &lt;code&gt;new_window normal&lt;/code&gt;, I'd like to have this window redrawn with a border without closing and reopening it. Is this possible? I tried toggling floating mode, but the border remained the same.&lt;/p&gt;
 </title><link>https://faq.i3wm.org/question/2682/modify-properties-of-an-existing-window-in-place/?answer=2685#post-id-2685</link><description>Use the `border` command, e.g. `border none`.</description><pubDate>Fri, 11 Oct 2013 16:33:46 +0000</pubDate><guid>https://faq.i3wm.org/question/2682/modify-properties-of-an-existing-window-in-place/?answer=2685#post-id-2685</guid></item><item><title>Comment by joepd for &lt;p&gt;Use the &lt;code&gt;border&lt;/code&gt; command, e.g. &lt;code&gt;border none&lt;/code&gt;.&lt;/p&gt;
</title><link>https://faq.i3wm.org/question/2682/modify-properties-of-an-existing-window-in-place/?comment=2694#comment-2694</link><description>There is a `-t` missing to tell that you are sending an IPC message. See: `man i3-msg`. </description><pubDate>Sat, 12 Oct 2013 08:59:33 +0000</pubDate><guid>https://faq.i3wm.org/question/2682/modify-properties-of-an-existing-window-in-place/?comment=2694#comment-2694</guid></item><item><title>Comment by BatmanAoD for &lt;p&gt;Use the &lt;code&gt;border&lt;/code&gt; command, e.g. &lt;code&gt;border none&lt;/code&gt;.&lt;/p&gt;
</title><link>https://faq.i3wm.org/question/2682/modify-properties-of-an-existing-window-in-place/?comment=2689#comment-2689</link><description>The following gives me a syntax error ("unexpected $undefined at position 1"): `i3-msg for_window [window_role="vim-18462-3374170781-1381445850"] border normal`. Anything immediately popping out as incorrect there...?</description><pubDate>Fri, 11 Oct 2013 17:01:46 +0000</pubDate><guid>https://faq.i3wm.org/question/2682/modify-properties-of-an-existing-window-in-place/?comment=2689#comment-2689</guid></item><item><title>Comment by Michael for &lt;p&gt;Use the &lt;code&gt;border&lt;/code&gt; command, e.g. &lt;code&gt;border none&lt;/code&gt;.&lt;/p&gt;
</title><link>https://faq.i3wm.org/question/2682/modify-properties-of-an-existing-window-in-place/?comment=2697#comment-2697</link><description>for_window is a configuration directive, whereas you can only send commands. Try `i3-msg '[window_role="vim-18462-3374170781-1381445850"] border normal'`</description><pubDate>Sat, 12 Oct 2013 13:37:39 +0000</pubDate><guid>https://faq.i3wm.org/question/2682/modify-properties-of-an-existing-window-in-place/?comment=2697#comment-2697</guid></item><item><title>Comment by BatmanAoD for &lt;p&gt;Use the &lt;code&gt;border&lt;/code&gt; command, e.g. &lt;code&gt;border none&lt;/code&gt;.&lt;/p&gt;
</title><link>https://faq.i3wm.org/question/2682/modify-properties-of-an-existing-window-in-place/?comment=2708#comment-2708</link><description>Ah, okay. Now I'm getting "syntax error, unexpected window at position 2." Does v. 4.0.1 not allow the first token to be a window specifier? (And @joepd, the -t option must be from a newer version; my man page doesn't list any flags).</description><pubDate>Mon, 14 Oct 2013 15:56:24 +0000</pubDate><guid>https://faq.i3wm.org/question/2682/modify-properties-of-an-existing-window-in-place/?comment=2708#comment-2708</guid></item></channel></rss>