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';
|
|
|
|
|
|
|
|
|
|
|
|
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}
|
|
|
|
>
|
|
|
|
<box css="min-height: 100px; min-width: 100px; background: black;" />
|
|
|
|
</PopupWindow>
|
|
|
|
);
|