nixos-configs/devices/binto/config/ags/ts/main.ts
matt1432 42f9c571f4
All checks were successful
Discord / discord commits (push) Has been skipped
fix(ags binto): adapt to latest wim changes
2024-01-13 23:53:52 -05:00

33 lines
875 B
TypeScript

import Pointers from '../../../../wim/config/ags/services/pointers.ts';
import AppLauncher from '../../../../wim/config/ags/ts/applauncher/main.ts';
import Bar from './bar/main.ts';
import { NotifPopups, NotifCenter } from './notifications/main.ts';
import Powermenu from '../../../../wim/config/ags/ts/powermenu.ts';
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(),
],
};