I'm running Ubuntu Gnome, gnome shell version 3.24.2. I'm trying to create a gnome shell extension, and am using Javascript.
In my extension and in Javascript, how do I create a global key binding that is recognized from anywhere in Gnome? I want to bind a function to that key binding so that when the user presses the key combination then the said function is executed.
There's virtually no documentation on gnome-shell extension development. So asking here is my only option. Please don't refer me to the following stackoverflow question, since its answer is for Gnome 3.22 and I sincerely hope there's an easier way to create a key-binding: Gnome Shell Extension Key Binding