Finish all options sets
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user