27 lines
674 B
TypeScript
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(),
|
|
});
|