Skip to content

Commit 8f36233

Browse files
committed
📝 Update configuration defaults and add new settings
1 parent 0f60cd9 commit 8f36233

File tree

1 file changed

+13
-6
lines changed

1 file changed

+13
-6
lines changed

src/content/docs/config-files.mdx

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -83,13 +83,16 @@ Below are the default values of the configuration file.
8383
"enableDarkModeForMenuThemes": false,
8484
"soundTheme": "none",
8585
"soundVolume": 0.5,
86+
"enableVersionCheck": true,
8687
"ignoreWriteProtectedConfigFiles": false,
8788
"settingsWindowColorScheme": "system",
88-
"settingsWindowFlavor": "sakura-system",
89+
"settingsWindowFlavor": "auto",
8990
"trayIconFlavor": "color",
91+
"hardwareAcceleration": true,
9092
"lazyInitialization": false,
91-
"enableVersionCheck": true,
9293
"zoomFactor": 1,
94+
"hideSettingsButton": false,
95+
"settingsButtonPosition": "bottom-right",
9396
"centerDeadZone": 50,
9497
"minParentDistance": 150,
9598
"dragThreshold": 15,
@@ -110,9 +113,7 @@ Below are the default values of the configuration file.
110113
"gamepadBackButton": 1,
111114
"gamepadCloseButton": 2,
112115
"sameShortcutBehavior": "nothing",
113-
"useDefaultOsShowSettingsHotkey": true,
114-
"hideSettingsButton": false,
115-
"settingsButtonPosition": "bottom-right"
116+
"useDefaultOsShowSettingsHotkey": true
116117
}
117118
```
118119

@@ -200,18 +201,24 @@ This determines the look of the settings window itself, not the menu editor part
200201
If set to `'system'`, Kando will adapt to the system colors.
201202

202203
#### settingsWindowFlavor <Badge text="new!" variant="tip" />
203-
<small>Default value: `"settingsWindowFlavor": "sakura-system"`</small>
204+
<small>Default value: `"settingsWindowFlavor": "auto"`</small>
204205

205206
This determines the look of the menu-editor part of the settings window.
206207
It can be one of `'sakura-system'`, `'sakura-light'`, `'sakura-dark'`, `'transparent-system'`, `'transparent-light'`, or `'transparent-dark'`.
207208
The system flavors will adapt to the system colors, while the light and dark flavors will use a fixed color scheme.
208209
The transparent flavors will try to use a translucent background, but this might not work on all systems.
210+
If the special value `'auto'` is used, Kando will choose a transparent flavor if the system supports it, otherwise it will use the sakura flavors.
209211

210212
#### trayIconFlavor
211213
<small>Default value: `"trayIconFlavor": 'color'`</small>
212214

213215
Can be one of `'color'`, `'white'`, `'light'`, `'dark'`, `'black'`, or `'none'`. The color flavors are only available on Windows and Linux. On macOS, the color always depends on your system colors. If set to `'none'`, the tray icon will be hidden.
214216

217+
#### hardwareAcceleration
218+
<small>Default value: `"hardwareAcceleration": true`</small>
219+
220+
If set to `true`, Kando will use hardware acceleration for rendering the menu. This can improve performance, but may cause issues on some systems. If you experience rendering issues with the menu, try setting this to `false`.
221+
215222
#### enableVersionCheck
216223
<small>Default value: `"enableVersionCheck": true`</small>
217224

0 commit comments

Comments
 (0)