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

41 lines
1.1 KiB
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';
2024-07-24 11:45:28 -04:00
import Calendar from './ts/date/binto.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';
2024-05-05 22:43:03 -04:00
import Screenshot from './ts/screenshot/main.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-07-24 11:45:28 -04:00
Calendar(),
2024-05-01 10:21:28 -04:00
Clipboard(),
NotifCenter(),
Powermenu(),
2024-05-05 22:43:03 -04:00
Screenshot(),
Bar(),
NotifPopups(),
2024-03-21 22:16:55 -04:00
OSD(),
],
2024-03-05 16:03:28 -05:00
});