Is this command correct? [closed]
i3-msg "[class='Firefox'] move position center"
I'm calling this from a floating xterm, and it's the xterm window the one going to the center and not the floating firefox.
i3-msg "[class='Firefox'] move position center"
I'm calling this from a floating xterm, and it's the xterm window the one going to the center and not the floating firefox.
There are two problems here:
move position is on of them.If you only have one Firefox window than this should work:
i3-msg '[class="Firefox"] focus; move position center'
If you have multiple Firefox windows, i3 will just try to move one of them, not necessarily the one you want (multiple calls will always select the same window).
In that case you could go by title or con_mark instead of class to select a specific Firefox window.
Asked: 2014-07-29 22:18:58 +0000
Seen: 175 times
Last updated: Jul 30 '14
Copyright i3, 2012 Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.
This bug has been fixed in the development version and will be included in the next release (after 4.8)