-
Notifications
You must be signed in to change notification settings - Fork 58
Expand file tree
/
Copy pathschema.json
More file actions
489 lines (489 loc) · 19.1 KB
/
Copy pathschema.json
File metadata and controls
489 lines (489 loc) · 19.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
{
"$schema": "http://json-schema.org/draft-06/schema",
"type": "object",
"additionalProperties": false,
"definitions": {
"context_menu": {
"definitions": {
"theme": {
"definitions": {
"animation": {
"definitions": {
"main": {
"title": "Context Menu Animation Configuration",
"description": "Animation effects for context menu",
"type": "object",
"additionalProperties": false,
"properties": {
"y": { "$ref": "#/definitions/animated_float_conf" }
}
},
"item": {
"title": "Context Menu Item Animation Configuration",
"description": "Animation effects for context menu items",
"type": "object",
"additionalProperties": false,
"properties": {
"opacity": { "$ref": "#/definitions/animated_float_conf" },
"x": { "$ref": "#/definitions/animated_float_conf" },
"y": { "$ref": "#/definitions/animated_float_conf" },
"width": { "$ref": "#/definitions/animated_float_conf" },
"blur": { "$ref": "#/definitions/animated_float_conf" },
"appear_blur": {
"title": "Initial Text Blur",
"description": "Starting blur radius for menu item text appear animation",
"type": "number",
"minimum": 0,
"default": 2.5
}
}
},
"bg": {
"title": "Background Animation Configuration",
"description": "Animation effects for context menu background",
"type": "object",
"additionalProperties": false,
"properties": {
"opacity": { "$ref": "#/definitions/animated_float_conf" },
"x": { "$ref": "#/definitions/animated_float_conf" },
"y": { "$ref": "#/definitions/animated_float_conf" },
"w": { "$ref": "#/definitions/animated_float_conf" },
"h": { "$ref": "#/definitions/animated_float_conf" },
"appear_w_scale": {
"title": "Initial Width Scale",
"description": "Starting width scale for the background expand animation",
"type": "number",
"minimum": 0,
"maximum": 1,
"default": 0.6
},
"appear_h_scale": {
"title": "Initial Height Scale",
"description": "Starting height scale for the background expand animation",
"type": "number",
"minimum": 0,
"maximum": 1,
"default": 0.6
}
}
}
},
"title": "Animation Configuration",
"description": "Configure the animation effects of the context menu",
"type": "object",
"additionalProperties": false,
"properties": {
"main": {
"$ref": "#/definitions/context_menu/definitions/theme/definitions/animation/definitions/main"
},
"item": {
"$ref": "#/definitions/context_menu/definitions/theme/definitions/animation/definitions/item"
},
"main_bg": {
"$ref": "#/definitions/context_menu/definitions/theme/definitions/animation/definitions/bg"
},
"submenu_bg": {
"$ref": "#/definitions/context_menu/definitions/theme/definitions/animation/definitions/bg"
}
}
}
},
"title": "Context Menu Theme Configuration",
"description": "Configure the theme and appearance of the context menu",
"type": "object",
"additionalProperties": false,
"properties": {
"background_opacity": {
"title": "Background Opacity",
"description": "0.0 means fully transparent, 1.0 means fully opaque",
"type": "number",
"minimum": 0,
"maximum": 1,
"default": 1
},
"acrylic": {
"title": "Use Acrylic Material",
"description": "Semi-transparent texture to enhance depth",
"type": "boolean",
"default": true
},
"radius": {
"title": "Corner Radius",
"description": "Corner radius of the context menu",
"type": "number",
"minimum": 0,
"default": 6
},
"font_size": {
"title": "Font Size",
"description": "Font size for the context menu",
"type": "number",
"minimum": 0,
"default": 14
},
"item_height": {
"title": "Context Menu Item Height",
"description": "Height of each context menu item",
"type": "number",
"minimum": 0,
"default": 23
},
"item_gap": {
"title": "Context Menu Item Gap",
"description": "Spacing between context menu items",
"type": "number",
"minimum": 0,
"default": 3
},
"item_radius": {
"title": "Context Menu Item Corner Radius",
"description": "Corner radius of each context menu item",
"type": "number",
"minimum": 0,
"default": 5
},
"margin": {
"title": "Context Menu Margin",
"description": "Horizontal margin of the context menu",
"type": "number",
"minimum": 0,
"default": 5
},
"padding": {
"title": "Context Menu Padding",
"description": "Horizontal padding of the context menu",
"type": "number",
"minimum": 0,
"default": 6
},
"text_padding": {
"title": "Context Menu Item Text Padding",
"description": "Horizontal padding for text in context menu items",
"type": "number",
"minimum": 0,
"default": 8
},
"icon_padding": {
"title": "Context Menu Item Left Icon Padding",
"description": "Horizontal padding for the left icon in context menu items",
"type": "number",
"minimum": 0,
"default": 4
},
"right_icon_padding": {
"title": "Context Menu Item Right Icon (Expand Icon) Padding",
"description": "Horizontal padding for the right icon (expand icon) in context menu items",
"type": "number",
"minimum": 0,
"default": 10
},
"multibutton_line_gap": {
"title": "Multi-button Line Gap",
"description": "Horizontal spacing between multi-buttons in context menu items",
"type": "number",
"default": -6
},
"scrollbar_width": {
"title": "Scrollbar Width",
"description": "Width of the context menu scrollbar",
"type": "number",
"minimum": 0,
"default": 6
},
"scrollbar_radius": {
"title": "Scrollbar Corner Radius",
"description": "Corner radius of the context menu scrollbar",
"type": "number",
"minimum": 0,
"default": 3
},
"hotkey_padding": {
"title": "Hotkey Padding",
"description": "Horizontal padding for hotkeys in context menu items",
"type": "number",
"minimum": 0,
"default": 4
},
"acrylic_color_light": {
"title": "Acrylic Background Color (Light Mode)",
"description": "Supports formats: #RRGGBBAA, #RRGGBB, rgba(R, G, B, A), rgb(R, G, B), linear-gradient(angle, color1, color2), radial-gradient(radius, color1, color2), solid(color)",
"type": "string",
"default": "#fefefe00"
},
"acrylic_color_dark": {
"title": "Acrylic Background Color (Dark Mode)",
"description": "Supports formats: #RRGGBBAA, #RRGGBB, rgba(R, G, B, A), rgb(R, G, B), linear-gradient(angle, color1, color2), radial-gradient(radius, color1, color2), solid(color)",
"type": "string",
"default": "#28282800"
},
"use_self_drawn_border": {
"title": "Use Self-drawn Border and Shadow",
"description": "Requires disabling DWM borders",
"type": "boolean",
"default": true
},
"border_color_light": {
"title": "Border Color (Light Mode)",
"description": "Context menu border color in light mode",
"type": "string",
"default": "#00000022"
},
"border_color_dark": {
"title": "Border Color (Dark Mode)",
"description": "Context menu border color in dark mode",
"type": "string",
"default": "#ffffff22"
},
"shadow_color_light_from": {
"title": "Shadow Color Start Value (Light Mode)",
"description": "Context menu shadow color start value in light mode",
"type": "string",
"default": "#00000020"
},
"shadow_color_light_to": {
"title": "Shadow Color End Value (Light Mode)",
"description": "Context menu shadow color end value in light mode",
"type": "string",
"default": "#00000000"
},
"shadow_color_dark_from": {
"title": "Shadow Color Start Value (Dark Mode)",
"description": "Context menu shadow color start value in dark mode",
"type": "string",
"default": "#00000033"
},
"shadow_color_dark_to": {
"title": "Shadow Color End Value (Dark Mode)",
"description": "Context menu shadow color end value in dark mode",
"type": "string",
"default": "#00000000"
},
"shadow_blur": {
"title": "Shadow Blur",
"description": "Blur radius of the context menu shadow",
"type": "number",
"minimum": 0,
"default": 10
},
"shadow_offset_x": {
"title": "Shadow Offset (Horizontal)",
"description": "Context menu shadow offset in the horizontal direction",
"type": "number",
"default": 0
},
"shadow_offset_y": {
"title": "Shadow Offset (Vertical)",
"description": "Context menu shadow offset in the vertical direction",
"type": "number",
"default": 0
},
"shadow_opacity": {
"title": "Shadow Opacity",
"description": "0.0 means fully transparent, 1.0 means fully opaque",
"type": "number",
"minimum": 0,
"maximum": 1,
"default": 0.2
},
"shadow_size": {
"title": "Shadow Size",
"description": "Context menu shadow size",
"type": "number",
"minimum": 0,
"default": 10
},
"border_width": {
"title": "Border Width",
"description": "Context menu border width",
"type": "number",
"minimum": 0,
"default": 1.5
},
"inset_border": {
"title": "Use Inset Border",
"description": "Context menu uses inset-style border",
"type": "boolean",
"default": true
},
"acrylic_opacity": {
"title": "Acrylic Background Opacity",
"description": "0.0 means fully transparent, 1.0 means fully opaque",
"type": "number",
"minimum": 0,
"maximum": 1,
"default": 0.1,
"deprecationMessage": "This option has been deprecated"
},
"animation": {
"$ref": "#/definitions/context_menu/definitions/theme/definitions/animation"
}
}
},
"position": {
"title": "Position Configuration",
"description": "Context menu position configuration",
"type": "object",
"additionalProperties": false,
"properties": {
"padding_vertical": {
"title": "Vertical Padding",
"description": "Vertical padding for the context menu popup position",
"type": "integer",
"minimum": 0,
"default": 20
},
"padding_horizontal": {
"title": "Horizontal Padding",
"description": "Horizontal padding for the context menu popup position",
"type": "integer",
"minimum": 0,
"default": 0
}
}
}
},
"title": "Context Menu Configuration",
"description": "Configure the behavior and appearance of the context menu",
"type": "object",
"additionalProperties": false,
"properties": {
"theme": { "$ref": "#/definitions/context_menu/definitions/theme" },
"vsync": {
"title": "Enable Vertical Sync",
"description": "Enable vertical sync to reduce tearing",
"type": "boolean",
"default": true
},
"ignore_owner_draw": {
"title": "Ignore Owner Draw",
"description": "Ignore the replacement of owner-drawn context menus",
"type": "boolean",
"default": true
},
"reverse_if_open_to_up": {
"title": "Reverse Order When Opening Upwards",
"description": "Reverse the order of context menu items when the menu opens upwards",
"type": "boolean",
"default": true
},
"experimental_ownerdraw_support": {
"title": "Enable Owner Draw (Experimental)",
"description": "Currently in an experimental stage, may have issues",
"type": "boolean",
"default": false
},
"hotkeys": {
"title": "Enable Hotkeys",
"description": "Enable hotkey support for the context menu",
"type": "boolean",
"default": true
},
"patch_explorerframe_dll": {
"title": "Patch ExplorerFrame.dll",
"description": "Controls whether Breeze patches ExplorerFrame.dll so the Explorer left pane can use the Breeze context menu",
"type": "boolean",
"default": true
},
"search_large_dwItemData_range": {
"title": "Search Larger Range of DWItemData",
"description": "Search for a larger range of DWItemData",
"type": "boolean",
"default": false,
"deprecationMessage": "This option is for debugging purposes only and is not recommended to be enabled"
},
"position": {
"$ref": "#/definitions/context_menu/definitions/position"
}
}
},
"animated_float_conf": {
"title": "General Animation Configuration",
"description": "Configuration for general animations and effects",
"type": "object",
"additionalProperties": false,
"properties": {
"duration": {
"title": "Animation Duration",
"description": "Duration of the animation effect in milliseconds",
"type": "number",
"minimum": 0,
"default": 150
},
"easing": {
"title": "Animation Easing",
"description": "Easing function for the animation effect",
"type": "string",
"enum": ["mutation", "linear", "ease_in", "ease_out", "ease_in_out"],
"enumDescriptions": [
"Disabled",
"Linear",
"Ease In",
"Ease Out",
"Ease In And Out"
],
"default": "ease_in_out"
},
"delay_scale": {
"title": "Delay Scale",
"description": "Animation delay scale factor",
"type": "number",
"minimum": 0,
"default": 1
}
}
}
},
"properties": {
"$schema": { "type": "string" },
"default_animation": { "$ref": "#/definitions/animated_float_conf" },
"context_menu": { "$ref": "#/definitions/context_menu" },
"debug_console": {
"title": "Enable Debug Console",
"description": "Enable the debug console to view debug information",
"type": "boolean",
"default": false
},
"font_path_main": {
"title": "Font Path (Main)",
"description": "Path to the main font used in the application",
"type": "string",
"default": "C:/Windows/Fonts/segoeui.ttf"
},
"font_path_fallback": {
"title": "Font Path (Fallback)",
"description": "Path to the fallback font used in the application",
"type": "string",
"default": "C:/Windows/Fonts/msyh.ttc"
},
"default_mono_font": {
"title": "Default Mono Font",
"description": "Default monospaced font used in the application",
"type": "string",
"default": "C:/Windows/Fonts/consola.ttf"
},
"res_string_loader_use_hook": {
"title": "Enable Resource String Loader Hook",
"description": "Use hook-based loading for more resid to improve localization support",
"type": "boolean",
"default": false
},
"avoid_resize_ui": {
"title": "Avoid UI Resizing",
"description": "Force fixed width and height for the UI window",
"type": "boolean",
"default": false,
"deprecationMessage": "This option is for debugging purposes"
},
"plugin_load_order": {
"title": "Plugin Load Order (Priority)",
"description": "Plugin file names without extensions (e.g., Windows 11 Icon Pack)",
"type": "array",
"items": { "type": "string" },
"default": []
},
"language": {
"title": "Language",
"type": "string"
}
}
}