diff --git a/src/api/settings.ts b/src/api/settings.ts index 4cdb24b6..d20e9642 100644 --- a/src/api/settings.ts +++ b/src/api/settings.ts @@ -32,6 +32,7 @@ export interface Settings { enableReactDevtools: boolean; themeLinks: string[]; frameless: boolean; + transparent: boolean; winCtrlQ: boolean; plugins: { [plugin: string]: { @@ -48,6 +49,7 @@ const DefaultSettings: Settings = { themeLinks: [], enableReactDevtools: false, frameless: false, + transparent: false, winCtrlQ: false, plugins: {} }; diff --git a/src/components/VencordSettings/VencordTab.tsx b/src/components/VencordSettings/VencordTab.tsx index e1632b19..9f55d57f 100644 --- a/src/components/VencordSettings/VencordTab.tsx +++ b/src/components/VencordSettings/VencordTab.tsx @@ -108,6 +108,13 @@ function VencordSettings() { > Disable the window frame + settings.transparent = v} + note="Requires a full restart" + > + Enable window transparency + {navigator.platform.toLowerCase().startsWith("win") && (