2024-10-15 20:01:20 -04:00
|
|
|
import { Astal } from 'astal/gtk3';
|
|
|
|
|
2024-10-16 22:33:15 -04:00
|
|
|
import PopupWindow from '../misc/popup-window';
|
|
|
|
|
2024-10-15 20:01:20 -04:00
|
|
|
import Popups from './popups';
|
2024-10-16 23:56:05 -04:00
|
|
|
import Center from './center';
|
2024-10-15 20:01:20 -04:00
|
|
|
|
|
|
|
|
|
|
|
export const NotifPopups = () => (
|
|
|
|
<window
|
|
|
|
name="notifications"
|
2024-10-15 23:56:11 -04:00
|
|
|
namespace="notifications"
|
2024-10-15 20:01:20 -04:00
|
|
|
layer={Astal.Layer.OVERLAY}
|
|
|
|
anchor={Astal.WindowAnchor.TOP | Astal.WindowAnchor.LEFT}
|
|
|
|
>
|
|
|
|
<Popups />
|
|
|
|
</window>
|
|
|
|
);
|
2024-10-16 22:33:15 -04:00
|
|
|
|
|
|
|
export const NotifCenter = () => (
|
|
|
|
<PopupWindow
|
|
|
|
name="notif-center"
|
|
|
|
anchor={Astal.WindowAnchor.TOP | Astal.WindowAnchor.RIGHT}
|
|
|
|
>
|
2024-10-16 23:56:05 -04:00
|
|
|
<Center />
|
2024-10-16 22:33:15 -04:00
|
|
|
</PopupWindow>
|
|
|
|
);
|