Files
custum-hyprpanel/main.ts
Jas Singh 9ccc624712 Added on-screen-displays to indicate volume and brightness changes. (#34)
* Resolves #13 - Added on-screen-displays to indicate volume and brightness changes.

* <3 Aylur

* Update brightness logic for osd

* Update brightness labels

* Fixed typos in the settings menu component.

* Added options to toggle OSD and change its orientation.
2024-07-29 02:01:38 -07:00

26 lines
677 B
TypeScript

import "lib/session"
import "scss/style"
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,
},
})