nixos-configs/modules/ags/config/binto.ts

37 lines
941 B
TypeScript
Raw Normal View History

2024-03-24 17:23:38 -04:00
import Brightness from './services/brightness.ts';
import GSR from './services/gpu-screen-recorder.ts';
import Pointers from './services/pointers.ts';
import AppLauncher from './ts/applauncher/main.ts';
import Bar from './ts/bar/binto.ts';
2024-05-01 10:21:28 -04:00
import Clipboard from './ts/clipboard/main.ts';
import { NotifPopups, NotifCenter } from './ts/notifications/binto.ts';
2024-03-21 22:16:55 -04:00
import OSD from './ts/osd/main.ts';
import Powermenu from './ts/powermenu.ts';
// TODO: add workspace indicator
2024-03-05 16:03:28 -05:00
App.config({
icons: './icons',
onConfigParsed: () => {
2024-03-24 17:23:38 -04:00
Brightness.capsName = 'input30::capslock';
globalThis.Brightness = Brightness;
globalThis.Pointers = Pointers;
setTimeout(() => {
globalThis.GSR = new GSR();
}, 1000);
},
2024-03-05 16:03:28 -05:00
windows: () => [
AppLauncher(),
2024-05-01 10:21:28 -04:00
Clipboard(),
NotifCenter(),
Powermenu(),
Bar(),
NotifPopups(),
2024-03-21 22:16:55 -04:00
OSD(),
],
2024-03-05 16:03:28 -05:00
});