This GNOME Shell extension automatically moves the mouse cursor to the center of the currently focused window when switching between windows using Alt+Tab. It ensures seamless cursor positioning ...
In both cases, you need to use the Directives class: Even if a node with the same name already exists, a new node will be added. Use ADDIF if you need to add only if the same-name node is absent.