* 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.
26 lines
677 B
TypeScript
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,
|
|
},
|
|
})
|