summaryrefslogtreecommitdiff
path: root/app.tsx
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-03-01 19:08:15 +1100
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-03-01 19:08:15 +1100
commit31138ffd9348990fc3221352fc40d48dfcd59141 (patch)
tree14083dcd472354762d4e1c738adada9652ff05de /app.tsx
parentlauncher: change window colour (diff)
downloadcaelestia-shell-31138ffd9348990fc3221352fc40d48dfcd59141.tar.gz
caelestia-shell-31138ffd9348990fc3221352fc40d48dfcd59141.tar.bz2
caelestia-shell-31138ffd9348990fc3221352fc40d48dfcd59141.zip
launcher: scheme autocomplete
Diffstat (limited to 'app.tsx')
-rw-r--r--app.tsx6
1 files changed, 5 insertions, 1 deletions
diff --git a/app.tsx b/app.tsx
index 0739d01..d97d41d 100644
--- a/app.tsx
+++ b/app.tsx
@@ -7,8 +7,9 @@ import Session from "@/modules/session";
import Monitors from "@/services/monitors";
import Palette from "@/services/palette";
import Players from "@/services/players";
+import Schemes from "@/services/schemes";
import type PopupWindow from "@/widgets/popupwindow";
-import { execAsync, writeFileAsync } from "astal";
+import { execAsync, idle, writeFileAsync } from "astal";
import { App } from "astal/gtk3";
import { initConfig, updateConfig } from "config";
@@ -38,6 +39,9 @@ App.start({
Monitors.get_default().forEach(m => <Bar monitor={m} />);
<Popdowns />;
+ // Init services
+ idle(() => Schemes.get_default());
+
console.log(`Caelestia started in ${Date.now() - now}ms`);
},
requestHandler(request, res) {