ui-settings.tin 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  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}{<119>警报} {name}{alert} }
  10. { {place}{BotSepBar} {label}{屏幕美化} {name}{beautify} {cooldown}{600} {visibility}{HideCool} }
  11. { {place}{BotSepBar} {label}{状态栏更新} {name}{disable} {visibility}{HideLabel} }
  12. { {place}{BotSepBar} {label}{随手记} {name}{note} {color}{<134>}}
  13. };
  14. VAR {信息栏的配色主题} prompt-theme {
  15. {Disable}{<bbc>}
  16. {BusyColor}{<239>}
  17. {BattleColor}{<119>}
  18. {BattleBusyColor}{<599><119>}
  19. {TopSepBar}{<229>}
  20. {MidSepBar}{<229>}
  21. {BotSepBar}{<229>}
  22. {HotLabel}{<199><F399>}
  23. {CoolLabel}{<109>}
  24. {Value}{<299>}
  25. };
  26. VAR {自定义图标} prompt-icon {
  27. {DisableRefresh}{🚫}
  28. };
  29. VAR {命令提示符,默认为空} prompt-prompt {};
  30. #nop 热键绑定;
  31. #list global-key-bindings create {
  32. {{key}{\cd} {meaning}{命令行智能切换} {action}{cli.SmartToggle}}
  33. {{key}{\co\cd} {meaning}{禁止/允许命令和触发} {action}{xtt.ToggleDisableCommands}}
  34. {{key}{\cos} {meaning}{禁止/允许状态栏更新} {action}{prompt.ToggleSwitch}}
  35. {{key}{\cob} {meaning}{禁止/允许界面宽字符美化} {action}{beautify.ToggleSwitch}}
  36. {{key}{\col} {meaning}{查看选项列表} {action}{option.List}}
  37. {{key}{\cod} {meaning}{开启/关闭调试模式} {action}{option.Toggle DebugLog}}
  38. {{key}{\coD} {meaning}{开启/关闭调试日志} {action}{option.Toggle DebugLogEcho}}
  39. {{key}{\coe} {meaning}{开启/关闭命令发送回显} {action}{option.Toggle EchoCommand}}
  40. {{key}{\cok} {meaning}{开启/关闭小键盘走路} {action}{option.Toggle KeypadWalk}}
  41. {{key}{\coK} {meaning}{开启/关闭屏幕虚拟键盘走路} {action}{option.Toggle ScreenKeypad}}
  42. };
  43. VAR {小键盘走路的键盘扫描码} {global-keypad-code} {
  44. {Home} {\e[H}
  45. {End} {\e[F}
  46. {Up} {\e[A}
  47. {Down} {\e[B}
  48. {Left} {\e[D}
  49. {Right} {\e[C}
  50. {Center} {\e[G}
  51. {PageUp} {\e[5~}
  52. {PageDown} {\e[6~}
  53. {Enter} {\n}
  54. {ShiftHome} {\e[1;2H}
  55. {ShiftEnd} {\e[1;2F}
  56. {ShiftUp} {\e[1;2A}
  57. {ShiftDown} {\e[1;2B}
  58. {ShiftLeft} {\e[1;2D}
  59. {ShiftRight} {\e[1;2C}
  60. {ShiftCenter} {\e[1;2G}
  61. {ShiftPageUp} {\e[5;2~}
  62. {ShiftPageDown} {\e[6;2~}
  63. {KeyH} {h}
  64. {KeyJ} {j}
  65. {KeyK} {k}
  66. {KeyL} {l}
  67. {ShiftKeyH} {H}
  68. {ShiftKeyJ} {J}
  69. {ShiftKeyK} {K}
  70. {ShiftKeyL} {L}
  71. };
  72. VAR {小键盘走路的功能映射表} {global-keypad-walking} {};
  73. #list {global-keypad-walking} create {
  74. {{key}{Up} {type}{dir} {args}{northdown;north;northup;up;northwest;northeast}}
  75. {{key}{Down} {type}{dir} {args}{southdown;south;southup;down;southwest;southeast}}
  76. {{key}{Left} {type}{dir} {args}{westdown;west;westup;out;northwest;southwest}}
  77. {{key}{Right} {type}{dir} {args}{eastdown;east;eastup;enter;northeast;southeast}}
  78. {{key}{Home} {type}{dir} {args}{northwest;westup;northup}}
  79. {{key}{End} {type}{dir} {args}{southwest;westdown;southup}}
  80. {{key}{PageUp} {type}{dir} {args}{northeast;eastup;northdown}}
  81. {{key}{PageDown} {type}{dir} {args}{southeast;eastdown;southdown}}
  82. {{key}{ShiftUp} {type}{dir} {args}{northup;north}}
  83. {{key}{ShiftDown} {type}{dir} {args}{southup;south}}
  84. {{key}{ShiftLeft} {type}{dir} {args}{westup;west}}
  85. {{key}{ShiftRight} {type}{dir} {args}{eastup;east}}
  86. {{key}{Enter} {type}{cmd} {args}{get all}}
  87. {{key}{Center} {type}{cmd} {args}{look}}
  88. {{key}{KeyK} {type}{dir} {args}{northdown;north;northup;up;northwest;northeast}}
  89. {{key}{KeyJ} {type}{dir} {args}{southdown;south;southup;down;southwest;southeast}}
  90. {{key}{KeyH} {type}{dir} {args}{westdown;west;westup;out;northwest;southwest}}
  91. {{key}{KeyL} {type}{dir} {args}{eastdown;east;eastup;enter;northeast;southeast}}
  92. {{key}{ShiftKeyK} {type}{dir} {args}{northup;north}}
  93. {{key}{ShiftKeyJ} {type}{dir} {args}{southup;south}}
  94. {{key}{ShiftKeyH} {type}{dir} {args}{westup;west}}
  95. {{key}{ShiftKeyL} {type}{dir} {args}{eastup;east}}
  96. };
  97. VAR {HP摘要刷新时机,三选一:{总是|从不|自动}} char.HPSummarize.Echo {自动};
  98. VAR {HP摘要配色表} char.HPSummarize.Theme {
  99. {色卡} {<218>;15;<118>;30;<238>;60;<138>;90;<128>;101;<168>}
  100. {前景} {
  101. {平常} {<168>}
  102. {战斗} {<118>}
  103. {战安} {<128>}
  104. {战危} {<118>}
  105. {战忙} {<138>}
  106. {危急} {<158>}
  107. {正忙} {<138>}
  108. }
  109. {背景} {
  110. {平常} {<099>}
  111. {战斗} {<B00A>}
  112. {战安} {<B040>}
  113. {战危} {<B600>}
  114. {战忙} {<B808>}
  115. {危急} {<BA00>}
  116. {正忙} {<B330>}
  117. }
  118. };