Answer a similar question that I cannot import Shell material offline. However, as far as I understand, St is a separate library written in C. But I still cannot import it into gjs ...
those.
$ gjs -c "imports.gi.Gtk"
works (i.e. no output). But
$ gjs -c "imports.gi.St"
not working with
Error: Requiring St, version none: Typelib file for namespace 'St' (any version) not found
Is there a way to import the St library from standalone (not GNOME shell extension) gjs?
source share