nixos-configs/modules/ags/config/ts/notifications/wim.ts
matt1432 555d1db3ba
All checks were successful
Discord / discord commits (push) Has been skipped
refactor(ags): remove blur and unused stuff from popup window class
2024-04-10 21:04:19 -04:00

25 lines
518 B
TypeScript

const { Window } = Widget;
import NotifCenterWidget from './center.ts';
import PopUpsWidget from './popup.ts';
import PopupWindow from '../misc/popup.ts';
export const NotifPopups = () => Window({
name: 'notifications',
layer: 'overlay',
anchor: ['top', 'left'],
child: PopUpsWidget(),
});
const TOP_MARGIN = 6;
export const NotifCenter = () => PopupWindow({
name: 'notification-center',
anchor: ['top', 'right'],
margins: [TOP_MARGIN, 0, 0, 0],
child: NotifCenterWidget(),
});