For example:
List the windows being managed by the window manager.
wmctrl -l
0x1 blabla1
0x2 blabla2
0x3 blabla3
0x4 blabla4
Swap window 1 with window 4.
$magic_command 1 4
What I want:
wmctrl -l
0x3 blabla4
0x2 blabla2
0x3 blabla3
0x1 blabla1
How to do that?
Thanks in advance!