ui-settings.tin 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  1. #nop {Top} {TopSepBar} {MidSepBar} {Bot} {BotSepBar};
  2. #list prompt-fields create {
  3. { {place}{BotSepBar} {label}{美化 / Ctrl+B 切换} {name}{beautify} {cooldown}{600} {visibility}{HideCool} }
  4. { {place}{BotSepBar} {label}{状态栏更新} {name}{disable} {visibility}{HideLabel} }
  5. };
  6. #nop 配色主题,注意这里不要直接嵌入 SGR(ansi codes),否则计算宽度时会有问题。;
  7. #var prompt-theme {
  8. {Disable}{<bbc>}
  9. {BusyColor}{<030>}
  10. {BattleColor}{<110>}
  11. {BattleBusyColor}{<500><110>}
  12. {TopSepBar}{<020>}
  13. {MidSepBar}{<020>}
  14. {BotSepBar}{<020>}
  15. {HotLabel}{<100><F399>}
  16. {CoolLabel}{<100>}
  17. {Value}{<070>}
  18. };
  19. #nop 自定义图标;
  20. #var prompt-icon {
  21. {DisableRefresh}{🚫}
  22. };
  23. #var prompt-prompt {};
  24. #nop 热键绑定;
  25. #list global-key-bindings create {
  26. {{key}{\cs} {action}{prompt.ToggleSwitch}}
  27. {{key}{\cb} {action}{beautify.ToggleSwitch}}
  28. {{key}{\cd} {action}{xtt.ToggleDebug}}
  29. {{key}{\ce} {action}{option.Toggle EchoCommand}}
  30. {{key}{\col} {action}{option.List}}
  31. };