import { Astal, Gtk, Widget } from "astal/gtk3" import { EventBox, Scrollable } from "astal/gtk3/widget" import Apps from "gi://AstalApps" const { TOP, RIGHT, BOTTOM } = Astal.WindowAnchor const apps = new Apps.Apps({ entryMultiplier: 1, categories_multiplier: 0, description_multiplier: 1, executable_multiplier: 1, name_multiplier: 2.5, keywordsMultiplier: 1, }) let launcherWindow function entry(app: Apps.Application) { return } export default function launcher() { if (launcherWindow) { launcherWindow.destroy() launcherWindow = null return false } launcherWindow = console.log("scroll")}> {apps.list.map(app => entry(app))} > return true }