summaryrefslogtreecommitdiff
path: root/app.tsx
diff options
context:
space:
mode:
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) {