Files
custum-hyprpanel/main.ts
Jas Singh 84e85b168e Implement a CLI command to change themes. (#136)
* Implement cli based theme applier.

* Remove references to old globalMousePos

* Use direct file path instead.
2024-08-16 00:49:24 -07:00

28 lines
737 B
TypeScript

import "lib/session";
import "scss/style";
import "globals/useTheme";
import "globals/mousePos";
import { Bar } from "modules/bar/Bar";
import MenuWindows from "./modules/menus/main.js";
import SettingsDialog from "widget/settings/SettingsDialog";
import Notifications from "./modules/notifications/index.js";
import { forMonitors } from "lib/utils";
import OSD from "modules/osd/index";
App.config({
onConfigParsed: () => Utils.execAsync(`python3 ${App.configDir}/services/bluetooth.py`),
windows: [
...MenuWindows,
Notifications(),
SettingsDialog(),
...forMonitors(Bar),
OSD(),
],
closeWindowDelay: {
sideright: 350,
launcher: 350,
bar0: 350,
},
})