Applications
signals
changedshould emit when an app is installed or uninstalled but doesn’t always work
methods
query:(string) => App[]takes a string and returns a list of apps that match one of the following: app name, app description, executable name or .desktop file.reload:() => voidexplicitly reload the applicationlist.
properties
list:Application[]a full list of available applications
Application
properties
app: Gio.DesktopAppInfo the corresponding app info objectname:stringname of the appdesktop:string | nullthe .desktop filedescription:string | nulldescription of the appexecutable:stringname of the executable binaryicon-name:stringthe Icon entry in the corresponding .desktop file, can be a named icon or a path to an imagefrequency: ‘number’ number to take into consideration when sorting onquerycalls
methods
launch:() => voidlaunches the app, you could also doUtils.execAsync(['bash', '-c', app.executable]), but the launch method keeps track of the frequency of launches which is used to sort the querymatch:(string) => booleanreturns whether a search term matches the appreload:() => voidrereads .desktop files