I'm using Mint 18.1 cinnamon. I'm trying to write a little bash program to move windows around.
I have a command that will remove maximized_vert and maximized_horz then move the window. It works fine if the the target window is maximized or just floating, but if the window is snapped into place using super [arrow] ( think this is tiling? ) it has no affect. The code is as follows
wmctrl -r "$CHROME" -i -b remove,maximized_vert
wmctrl -r "$CHROME" -i -b remove,maximized_horz
wmctrl -r "$CHROME" -i -e '0,0,0,500,500'
Where "$CHROME" is the hex address or the window.
I repeat it works if the window is maxamized or if it is just floating but does not work when the window is tiled or snapped using super [arrow]
Thanks for the help
Asked by Raif
(191 rep)
Mar 22, 2017, 11:02 PM
Last activity: Sep 15, 2023, 02:17 PM
Last activity: Sep 15, 2023, 02:17 PM