nixos-configs/devices/binto/config/ags/ts/main.ts
matt1432 d3bb06a370
All checks were successful
Discord / discord commits (push) Has been skipped
refactor(ags binto): switch to typescript
2024-01-13 16:07:33 -05:00

33 lines
815 B
TypeScript

import Pointers from '../wim/services/pointers.js';
import AppLauncher from '../wim/ts/applauncher/main.js';
import Bar from './bar/main.js';
import { NotifPopups, NotifCenter } from './notifications/main.js';
import Powermenu from '../wim/ts/powermenu.js';
const closeWinDelay = 800;
// TODO: add OSD, workspace indicator / overview and current window indicator
export default {
notificationPopupTimeout: 5000,
cacheNotificationActions: true,
onConfigParsed: () => {
globalThis.Pointers = Pointers;
},
closeWindowDelay: {
'applauncher': closeWinDelay,
'notification-center': closeWinDelay,
'powermenu': closeWinDelay,
},
windows: [
AppLauncher(),
NotifCenter(),
Powermenu(),
Bar(),
NotifPopups(),
],
};