Registered Member
|
So I am using touchpad gestures in KDE using libinput-gestures. Now I would like to do the following: create a script that show that the Desktop Grid with a certain gesture, then go back using the same gesture backwards. For example three fingers up to show and then three fingers down to go back, but if three fingers down is used when grid is not shown, I would like to trigger another command. The way I wanted to do this would be write a script that checks if the grid is currently active and then adjust the commands accordingly. Something like this:
However, how I can I know if the grid is active or not, I have looked at the possible qdbus commands by using qdbusviewer but couldn't find anything. |
Registered users: Bing [Bot], Google [Bot], Sogou [Bot]