nixos-configs/devices/binto/config/ags/ts/notifications/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

27 lines
674 B
TypeScript

import { Window } from 'resource:///com/github/Aylur/ags/widget.js';
import NotifCenterWidget from
'../../../../../wim/config/ags/ts/notifications/center.ts';
import PopUpsWidget from
'../../../../../wim/config/ags/ts/notifications/popup.ts';
import PopupWindow from '../../../../../wim/config/ags/ts/misc/popup.ts';
export const NotifPopups = () => Window({
name: 'notifications',
anchor: ['bottom', 'left'],
monitor: 1,
child: PopUpsWidget(),
});
export const NotifCenter = () => PopupWindow({
name: 'notification-center',
anchor: ['bottom', 'right'],
transition: 'slide_up',
monitor: 1,
child: NotifCenterWidget(),
});