-
Notifications
You must be signed in to change notification settings - Fork 41
Description
This extension works and feels as if it should be native on Gnome DE for every laptop. It's great.
The process to adapt existing extensions to the problematic Gnome Shell 45 it is sort of explained here https://gjs.guide/extensions/upgrading/gnome-shell-45.html
However searching through the source code of this extension, every requirement, ESM imports and good practises from the previous guide are already achieved, so changing the metadata.json file, and leaving "45" as the only compatible version, for then reinstalling and enabling "Gestures Improvements" apparently should do the trick. Sadly it doesn't, and the next error is thrown when trying to load the extension:
The settings of extension gestureImprovements@gestures had an error:
SyntaxError: import declarations may only appear at top level of a module
Stack trace:
@file:///home/lviz/.local/share/gnome-shell/extensions/gestureImprovements@gestures/prefs.js:4:12
_init/GLib.MainLoop.prototype.runAsync/</<@resource:///org/gnome/gjs/modules/core/overrides/GLib.js:266:34
I hope @harshadgavali, collaborators or any interested and experienced programmer can find a solution, or guide unexperienced programmers as me to fix this great tool.