nixos-configs/devices/binto/config/ags/ts/notifications/main.ts

26 lines
606 B
TypeScript
Raw Normal View History

import { Window } from 'resource:///com/github/Aylur/ags/widget.js';
import NotifCenterWidget from '../../wim/ts/notifications/center.ts';
import PopUpsWidget from '../../wim/ts/notifications/popup.ts';
2023-11-27 15:50:20 -05:00
import PopupWindow from '../../wim/ts/misc/popup.ts';
2023-11-27 15:50:20 -05:00
export const NotifPopups = () => Window({
2023-11-27 15:50:20 -05:00
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(),
});