1
0
Fork 0

Miscellaneous desktop stuff

This commit is contained in:
Avery 2024-10-11 21:13:47 +02:00
parent 6790e3ac3b
commit 4a107f660c
Signed by: Avery
GPG key ID: B684FD451B692E04
8 changed files with 45 additions and 15 deletions

View file

@ -1,6 +1,6 @@
import { Application } from "./application.js";
import { on_window_event } from "../../state.js";
const { query } = await Service.import("applications");
const { query, reload } = await Service.import("applications");
const Launcher = () => {
let applications = query("").map(Application);
@ -13,6 +13,7 @@ const Launcher = () => {
});
function repopulate() {
reload();
applications = query("").map(Application);
list.children = applications;
}