aboutsummaryrefslogtreecommitdiff
path: root/src/api/settings.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/api/settings.ts')
-rw-r--r--src/api/settings.ts14
1 files changed, 13 insertions, 1 deletions
diff --git a/src/api/settings.ts b/src/api/settings.ts
index d20e964..c711791 100644
--- a/src/api/settings.ts
+++ b/src/api/settings.ts
@@ -40,6 +40,12 @@ export interface Settings {
[setting: string]: any;
};
};
+
+ notifications: {
+ timeout: number;
+ position: "top-right" | "bottom-right";
+ useNative: "always" | "never" | "not-focused";
+ };
}
const DefaultSettings: Settings = {
@@ -51,7 +57,13 @@ const DefaultSettings: Settings = {
frameless: false,
transparent: false,
winCtrlQ: false,
- plugins: {}
+ plugins: {},
+
+ notifications: {
+ timeout: 5000,
+ position: "bottom-right",
+ useNative: "not-focused"
+ }
};
try {