Finish all options sets

This commit is contained in:
Jas Singh
2024-07-20 22:59:25 -07:00
parent c6c4e0cf57
commit ab721edbd2
24 changed files with 514 additions and 392 deletions

View File

@@ -1,4 +1,5 @@
const notifs = await Service.import("notifications");
import options from "options";
import { notifHasImg } from "../menus/notifications/utils.js";
import { Image } from "./image/index.js";
import { Action } from "./actions/index.js";
@@ -6,6 +7,8 @@ import { Header } from "./header/index.js";
import { Body } from "./body/index.js";
import { CloseButton } from "./close/index.js";
const { position } = options.notifications;
export default () => {
notifs.popupTimeout = 7000;
@@ -14,7 +17,7 @@ export default () => {
class_name: "notifications-window",
monitor: 2,
layer: "top",
anchor: ["top", "right"],
anchor: position.bind("value"),
exclusivity: "ignore",
child: Widget.Box({
class_name: "notification-card-container",