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

31 lines
724 B
TypeScript
Raw Normal View History

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