Add WM independent desktop switch shortcuts
I am trying to switch from libinput-gestures. libinput-gestures supported some internal commands, like for instance _internal ws_up to switch to the next virtual desktop, which worked independent of the DE/WM.
It would be cool, if something like this could be added too.
Also see https://developer.gnome.org/libwnck/stable/ for window control.
@magnus-gross Got me slightly curious. It's a little wrapper script around wmctrl:
https://github.com/bulletmark/libinput-gestures/blob/57df3d295c1a7c15dc4a9baa94e97d67a8f2bcda/libinput-gestures#L215-L251
A quick search shows more options people have created, like:
wmctrl -s $(wmctrl -d | awk '$2==\"*\"{cur=NR} END{print cur % NR}')
From https://askubuntu.com/a/176614