diff --git a/src/VencordNative.ts b/src/VencordNative.ts index 42e697452..7cda5d013 100644 --- a/src/VencordNative.ts +++ b/src/VencordNative.ts @@ -50,6 +50,7 @@ export default { get: () => sendSync(IpcEvents.GET_SETTINGS), set: (settings: Settings, pathToNotify?: string) => invoke(IpcEvents.SET_SETTINGS, settings, pathToNotify), getSettingsDir: () => invoke(IpcEvents.GET_SETTINGS_DIR), + setBackgroundMaterial: (backgroundMaterial: Settings["winBackgroundMaterial"]) => invoke(IpcEvents.SET_BACKGROUND_MATERIAL, backgroundMaterial) }, quickCss: { diff --git a/src/components/VencordSettings/VencordTab.tsx b/src/components/VencordSettings/VencordTab.tsx index 269b04c2d..751e8f8f2 100644 --- a/src/components/VencordSettings/VencordTab.tsx +++ b/src/components/VencordSettings/VencordTab.tsx @@ -246,7 +246,7 @@ function VencordSettings() { } {needsBackgroundMaterial && <> - Window Background Material (requires restart) + Window Background Material