Files
Vesktop/src/shared/settings.d.ts

46 lines
1.1 KiB
TypeScript
Raw Normal View History

2023-04-09 22:49:50 +02:00
/*
* SPDX-License-Identifier: GPL-3.0
2023-07-13 19:03:13 +02:00
* Vesktop, a desktop app aiming to give you a snappier Discord Experience
2023-04-09 22:49:50 +02:00
* Copyright (c) 2023 Vendicated and Vencord contributors
*/
2023-04-09 05:04:49 +02:00
import type { Rectangle } from "electron";
2023-04-09 00:49:47 +02:00
export interface Settings {
discordBranch?: "stable" | "canary" | "ptb";
vencordDir?: string;
2023-08-07 00:23:27 +02:00
transparencyOption?: "none" | "mica" | "tabbed" | "acrylic";
tray?: boolean;
2023-04-09 05:57:45 +02:00
minimizeToTray?: boolean;
2023-08-07 00:23:27 +02:00
openLinksWithElectron?: boolean;
2023-04-19 22:26:56 -04:00
staticTitle?: boolean;
2023-07-28 21:54:17 +02:00
enableMenu?: boolean;
disableSmoothScroll?: boolean;
hardwareAcceleration?: boolean;
2023-06-09 22:47:59 +02:00
arRPC?: boolean;
2023-06-23 17:20:54 +02:00
appBadge?: boolean;
2023-08-07 00:23:27 +02:00
disableMinSize?: boolean;
clickTrayToShowHide?: boolean;
customTitleBar?: boolean;
checkUpdates?: boolean;
splashTheming?: boolean;
splashColor?: string;
splashBackground?: string;
spellCheckLanguages?: string[];
}
export interface State {
maximized?: boolean;
minimized?: boolean;
windowBounds?: Rectangle;
displayid: int;
skippedUpdate?: string;
firstLaunch?: boolean;
steamOSLayoutVersion?: number;
2023-04-09 00:49:47 +02:00
}