nixos-configs/modules/ags/config/ts/notifications/binto.ts
matt1432 22722c27c4
All checks were successful
Discord / discord commits (push) Has been skipped
feat(ags): use hyprland animations for popup windows
2024-04-07 14:29:12 -04:00

26 lines
532 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',
anchor: ['bottom', 'left'],
layer: 'overlay',
monitor: 1,
child: PopUpsWidget(),
});
export const NotifCenter = () => PopupWindow({
name: 'notification-center',
anchor: ['bottom', 'right'],
transition: 'slide bottom',
monitor: 1,
content: NotifCenterWidget(),
});