gebaar-libinput icon indicating copy to clipboard operation
gebaar-libinput copied to clipboard

Add WM independent desktop switch shortcuts

Open vimpostor opened this issue 6 years ago • 2 comments

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.

vimpostor avatar Mar 06 '19 12:03 vimpostor

Also see https://developer.gnome.org/libwnck/stable/ for window control.

Frenzie avatar Apr 11 '19 16:04 Frenzie

@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

Frenzie avatar Apr 24 '19 14:04 Frenzie