nixos-configs/modules/ags/config/widgets/notifs/wim.tsx

28 lines
599 B
TypeScript
Raw Permalink Normal View History

import { Astal } from 'astal/gtk3';
2024-10-16 22:33:15 -04:00
import PopupWindow from '../misc/popup-window';
import Popups from './popups';
2024-10-16 23:56:05 -04:00
import Center from './center';
export const NotifPopups = () => (
<window
name="notifications"
2024-10-15 23:56:11 -04:00
namespace="notifications"
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>
);