<?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/2338/" rel="self"></atom:link><language>en</language><copyright>Copyright i3, 2012</copyright><lastBuildDate>Sat, 10 Aug 2013 06:55:29 +0000</lastBuildDate><item><title>2 actions, one binding</title><link>https://faq.i3wm.org/question/2338/2-actions-one-binding/</link><description>I want to move the mouse on the lower right corner whenever I put a window in fullscreen.

To move the mouse I want to execute:

    exec xdotool mousemove 5000 5000

Is there a way to do it on the same binding I have for fullscreen?

    bindsym $mod+f fullscreen</description><pubDate>Sat, 10 Aug 2013 06:44:12 +0000</pubDate><guid>https://faq.i3wm.org/question/2338/2-actions-one-binding/</guid></item><item><title>Answer by Michael for &lt;p&gt;I want to move the mouse on the lower right corner whenever I put a window in fullscreen.&lt;/p&gt;

&lt;p&gt;To move the mouse I want to execute:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;exec xdotool mousemove 5000 5000
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Is there a way to do it on the same binding I have for fullscreen?&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;bindsym $mod+f fullscreen
&lt;/code&gt;&lt;/pre&gt;
 </title><link>https://faq.i3wm.org/question/2338/2-actions-one-binding/?answer=2339#post-id-2339</link><description>    bindsym $mod+f fullscreen; exec --no-startup-id xdotool mousemove 5000 5000</description><pubDate>Sat, 10 Aug 2013 06:45:31 +0000</pubDate><guid>https://faq.i3wm.org/question/2338/2-actions-one-binding/?answer=2339#post-id-2339</guid></item><item><title>Comment by littlebobbytables for &lt;pre&gt;&lt;code&gt;bindsym $mod+f fullscreen; exec --no-startup-id xdotool mousemove 5000 5000
&lt;/code&gt;&lt;/pre&gt;
</title><link>https://faq.i3wm.org/question/2338/2-actions-one-binding/?comment=2341#comment-2341</link><description>that was way too easy to figure it out by myself! Thanks!</description><pubDate>Sat, 10 Aug 2013 06:55:29 +0000</pubDate><guid>https://faq.i3wm.org/question/2338/2-actions-one-binding/?comment=2341#comment-2341</guid></item></channel></rss>