nixos-configs/nixosModules/ags-v2/config/widgets/notifs/wim.tsx
matt1432 e2d8754f81
All checks were successful
Discord / discord commits (push) Has been skipped
refactor(agsV2): separate some widgets from popup-window for binto prep
2024-11-12 14:53:56 -05:00

27 lines
599 B
TypeScript

import { Astal } from 'astal/gtk3';
import PopupWindow from '../misc/popup-window';
import Popups from './popups';
import Center from './center';
export const NotifPopups = () => (
<window
name="notifications"
namespace="notifications"
layer={Astal.Layer.OVERLAY}
anchor={Astal.WindowAnchor.TOP | Astal.WindowAnchor.LEFT}
>
<Popups />
</window>
);
export const NotifCenter = () => (
<PopupWindow
name="notif-center"
anchor={Astal.WindowAnchor.TOP | Astal.WindowAnchor.RIGHT}
>
<Center />
</PopupWindow>
);