diff options
author | Ven <vendicated@riseup.net> | 2023-02-10 22:33:34 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-10 22:33:34 +0100 |
commit | 1d995e58f515dbeb908ba34bf70f829bfd3ccfac (patch) | |
tree | df8c540f5656028502288ab4e58e41754f723bc9 /src/api/settings.ts | |
parent | 6114bc6b168607613d06ae8fb4f29e74c763a417 (diff) | |
download | Vencord-1d995e58f515dbeb908ba34bf70f829bfd3ccfac.tar.gz Vencord-1d995e58f515dbeb908ba34bf70f829bfd3ccfac.tar.bz2 Vencord-1d995e58f515dbeb908ba34bf70f829bfd3ccfac.zip |
Notification API (#467)
Co-authored-by: Ven <vendicated@riseup.net>
Co-authored-by: afn <hey@afn.lol>
Co-authored-by: afn <afnzmn@gmail.com>
Diffstat (limited to 'src/api/settings.ts')
-rw-r--r-- | src/api/settings.ts | 14 |
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 { |