import { atom } from 'jotai';

/**
 * P6-1 — Tray "Do Not Disturb" ↔ notification suppression (manual toggle).
 *
 * Standalone, non-persisted boolean atom reflecting whether the user has flipped
 * the native tray "Do Not Disturb" item. It is driven at runtime by
 * `useTauriDnd` from the native `lotus-dnd-changed` event and read by the
 * notification gate to suppress notifications while DND is on. Because it mirrors
 * a transient session toggle — not a persisted user preference — it is a plain
 * in-memory atom that defaults to `false` and is intentionally NOT written to
 * `localStorage`.
 */
export const manualDndAtom = atom(false);
