ui-settings.tin 1.3 KB

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