project-client/src/shared/settings.d.ts

42 lines
1 KiB
TypeScript
Raw Normal View History

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