aboutsummaryrefslogtreecommitdiff
path: root/src/components/VencordSettings
diff options
context:
space:
mode:
authorKaydax <kaydax@kaydax.xyz>2023-01-28 17:54:38 -0500
committerGitHub <noreply@github.com>2023-01-28 23:54:38 +0100
commit072ad3d7e67300c1de25858b790670a46fb6c10e (patch)
treeb09a8b42f613c509263a9a15b02de5e1808cc0fc /src/components/VencordSettings
parent6e22a96d9eed97ecc1991962fe965ea352ad5549 (diff)
downloadVencord-072ad3d7e67300c1de25858b790670a46fb6c10e.tar.gz
Vencord-072ad3d7e67300c1de25858b790670a46fb6c10e.tar.bz2
Vencord-072ad3d7e67300c1de25858b790670a46fb6c10e.zip
feat(settings): Add the ability to make the window transparent (#457)
Diffstat (limited to 'src/components/VencordSettings')
-rw-r--r--src/components/VencordSettings/VencordTab.tsx7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/components/VencordSettings/VencordTab.tsx b/src/components/VencordSettings/VencordTab.tsx
index e1632b1..9f55d57 100644
--- a/src/components/VencordSettings/VencordTab.tsx
+++ b/src/components/VencordSettings/VencordTab.tsx
@@ -108,6 +108,13 @@ function VencordSettings() {
>
Disable the window frame
</Switch>
+ <Switch
+ value={settings.transparent}
+ onChange={(v: boolean) => settings.transparent = v}
+ note="Requires a full restart"
+ >
+ Enable window transparency
+ </Switch>
{navigator.platform.toLowerCase().startsWith("win") && (
<Switch
value={settings.winCtrlQ}