|
141 | 141 | { |
142 | 142 | "type": "array", |
143 | 143 | "items": { |
144 | | - "type": "string" |
| 144 | + "oneOf": [ |
| 145 | + { |
| 146 | + "type": "string", |
| 147 | + "description": "Script command as string" |
| 148 | + }, |
| 149 | + { |
| 150 | + "type": "object", |
| 151 | + "description": "Script command as key-value pairs for structured commands" |
| 152 | + } |
| 153 | + ] |
145 | 154 | }, |
146 | | - "description": "Array of script commands" |
| 155 | + "description": "Array of script commands (strings or objects)" |
147 | 156 | } |
148 | 157 | ], |
149 | 158 | "description": "Script to execute when choice is selected" |
|
369 | 378 | "$ref": "#/definitions/color_name", |
370 | 379 | "description": "Selected menu background color" |
371 | 380 | }, |
| 381 | + "highlighted_menu_fg_color": { |
| 382 | + "$ref": "#/definitions/color_name", |
| 383 | + "description": "Menu text color when highlighted/hovered" |
| 384 | + }, |
| 385 | + "highlighted_menu_bg_color": { |
| 386 | + "$ref": "#/definitions/color_name", |
| 387 | + "description": "Menu background color when highlighted/hovered" |
| 388 | + }, |
| 389 | + "highlighted_border_color": { |
| 390 | + "$ref": "#/definitions/color_name", |
| 391 | + "description": "Border color when highlighted/hovered" |
| 392 | + }, |
| 393 | + "highlighted_bg_color": { |
| 394 | + "$ref": "#/definitions/color_name", |
| 395 | + "description": "Background color when highlighted/hovered" |
| 396 | + }, |
| 397 | + "highlighted_fg_color": { |
| 398 | + "$ref": "#/definitions/color_name", |
| 399 | + "description": "Foreground color when highlighted/hovered" |
| 400 | + }, |
| 401 | + "highlighted_title_bg_color": { |
| 402 | + "$ref": "#/definitions/color_name", |
| 403 | + "description": "Title background color when highlighted/hovered" |
| 404 | + }, |
| 405 | + "highlighted_title_fg_color": { |
| 406 | + "$ref": "#/definitions/color_name", |
| 407 | + "description": "Title text color when highlighted/hovered" |
| 408 | + }, |
| 409 | + "highlighted_fill_char": { |
| 410 | + "type": "string", |
| 411 | + "maxLength": 1, |
| 412 | + "description": "Fill character when highlighted/hovered" |
| 413 | + }, |
372 | 414 | "redirect_output": { |
373 | 415 | "type": "string", |
374 | 416 | "description": "ID of box to redirect script output to" |
|
386 | 428 | { |
387 | 429 | "type": "array", |
388 | 430 | "items": { |
389 | | - "type": "string" |
| 431 | + "oneOf": [ |
| 432 | + { |
| 433 | + "type": "string", |
| 434 | + "description": "Script command as string" |
| 435 | + }, |
| 436 | + { |
| 437 | + "type": "object", |
| 438 | + "description": "Script command as key-value pairs for structured commands" |
| 439 | + } |
| 440 | + ] |
390 | 441 | }, |
391 | | - "description": "Array of script commands to execute" |
| 442 | + "description": "Array of script commands (strings or objects)" |
392 | 443 | } |
393 | 444 | ], |
394 | 445 | "description": "Script commands to execute for box content" |
|
593 | 644 | "$ref": "#/definitions/color_name", |
594 | 645 | "description": "Selected menu background color" |
595 | 646 | }, |
| 647 | + "highlighted_menu_fg_color": { |
| 648 | + "$ref": "#/definitions/color_name", |
| 649 | + "description": "Menu text color when highlighted/hovered" |
| 650 | + }, |
| 651 | + "highlighted_menu_bg_color": { |
| 652 | + "$ref": "#/definitions/color_name", |
| 653 | + "description": "Menu background color when highlighted/hovered" |
| 654 | + }, |
| 655 | + "highlighted_border_color": { |
| 656 | + "$ref": "#/definitions/color_name", |
| 657 | + "description": "Border color when highlighted/hovered" |
| 658 | + }, |
| 659 | + "highlighted_bg_color": { |
| 660 | + "$ref": "#/definitions/color_name", |
| 661 | + "description": "Background color when highlighted/hovered" |
| 662 | + }, |
| 663 | + "highlighted_fg_color": { |
| 664 | + "$ref": "#/definitions/color_name", |
| 665 | + "description": "Foreground color when highlighted/hovered" |
| 666 | + }, |
| 667 | + "highlighted_title_bg_color": { |
| 668 | + "$ref": "#/definitions/color_name", |
| 669 | + "description": "Title background color when highlighted/hovered" |
| 670 | + }, |
| 671 | + "highlighted_title_fg_color": { |
| 672 | + "$ref": "#/definitions/color_name", |
| 673 | + "description": "Title text color when highlighted/hovered" |
| 674 | + }, |
| 675 | + "highlighted_fill_char": { |
| 676 | + "type": "string", |
| 677 | + "maxLength": 1, |
| 678 | + "description": "Fill character when highlighted/hovered" |
| 679 | + }, |
596 | 680 | "error_border_color": { |
597 | 681 | "$ref": "#/definitions/color_name", |
598 | 682 | "description": "Border color in error state" |
|
747 | 831 | "$ref": "#/definitions/color_name", |
748 | 832 | "description": "Selected menu background color" |
749 | 833 | }, |
| 834 | + "highlighted_menu_fg_color": { |
| 835 | + "$ref": "#/definitions/color_name", |
| 836 | + "description": "Menu text color when highlighted/hovered" |
| 837 | + }, |
| 838 | + "highlighted_menu_bg_color": { |
| 839 | + "$ref": "#/definitions/color_name", |
| 840 | + "description": "Menu background color when highlighted/hovered" |
| 841 | + }, |
| 842 | + "highlighted_border_color": { |
| 843 | + "$ref": "#/definitions/color_name", |
| 844 | + "description": "Border color when highlighted/hovered" |
| 845 | + }, |
| 846 | + "highlighted_bg_color": { |
| 847 | + "$ref": "#/definitions/color_name", |
| 848 | + "description": "Background color when highlighted/hovered" |
| 849 | + }, |
| 850 | + "highlighted_fg_color": { |
| 851 | + "$ref": "#/definitions/color_name", |
| 852 | + "description": "Foreground color when highlighted/hovered" |
| 853 | + }, |
| 854 | + "highlighted_title_bg_color": { |
| 855 | + "$ref": "#/definitions/color_name", |
| 856 | + "description": "Title background color when highlighted/hovered" |
| 857 | + }, |
| 858 | + "highlighted_title_fg_color": { |
| 859 | + "$ref": "#/definitions/color_name", |
| 860 | + "description": "Title text color when highlighted/hovered" |
| 861 | + }, |
| 862 | + "highlighted_fill_char": { |
| 863 | + "type": "string", |
| 864 | + "maxLength": 1, |
| 865 | + "description": "Fill character when highlighted/hovered" |
| 866 | + }, |
750 | 867 | "border": { |
751 | 868 | "type": "boolean", |
752 | 869 | "description": "Whether to draw border around layout" |
|
0 commit comments