2024-01-30 11:29:07 -05:00
|
|
|
const { Window } = Widget;
|
2024-01-17 19:18:41 -05:00
|
|
|
|
2024-01-13 23:38:31 -05:00
|
|
|
import NotifCenterWidget from './center.ts';
|
|
|
|
import PopUpsWidget from './popup.ts';
|
2023-11-27 15:01:54 -05:00
|
|
|
|
2024-01-13 23:38:31 -05:00
|
|
|
import PopupWindow from '../misc/popup.ts';
|
2024-06-19 12:54:01 -04:00
|
|
|
import { get_gdkmonitor_from_desc } from '../lib.ts';
|
2023-11-27 15:01:54 -05:00
|
|
|
|
2024-01-17 19:18:41 -05:00
|
|
|
|
2023-12-28 23:20:03 -05:00
|
|
|
export const NotifPopups = () => Window({
|
2023-11-27 15:01:54 -05:00
|
|
|
name: 'notifications',
|
2024-01-17 19:18:41 -05:00
|
|
|
anchor: ['bottom', 'left'],
|
2024-04-07 14:29:12 -04:00
|
|
|
layer: 'overlay',
|
2024-07-18 20:46:58 -04:00
|
|
|
gdkmonitor: get_gdkmonitor_from_desc('desc:Acer Technologies Acer K212HQL T3EAA0014201'),
|
2024-01-17 19:18:41 -05:00
|
|
|
|
2023-11-27 15:01:54 -05:00
|
|
|
child: PopUpsWidget(),
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
export const NotifCenter = () => PopupWindow({
|
|
|
|
name: 'notification-center',
|
2024-01-17 19:18:41 -05:00
|
|
|
anchor: ['bottom', 'right'],
|
2024-04-07 14:29:12 -04:00
|
|
|
transition: 'slide bottom',
|
2024-07-18 20:46:58 -04:00
|
|
|
gdkmonitor: get_gdkmonitor_from_desc('desc:Acer Technologies Acer K212HQL T3EAA0014201'),
|
2023-11-27 15:01:54 -05:00
|
|
|
|
2024-04-10 21:04:19 -04:00
|
|
|
child: NotifCenterWidget(),
|
2023-11-27 15:01:54 -05:00
|
|
|
});
|