| <config>
|
| <menu>
|
| <selected=Term /> <!-- Set selected using menu item id. -->
|
| <item*/> <!-- Use asterisk at the end of the element name to set defaults.
|
| Using an asterisk with the parameter name of the first element in the list without any other nested arguments
|
| indicates the beginning of the list, i.e. the list will replace the existing one when the configuration is merged. -->
|
| <item splitter label="apps">
|
| <notes>
|
| " Default applications group \n"
|
| " It can be configured in ~/.config/vtm/settings.xml "
|
| </notes>
|
| </item>
|
| <item* hidden=no slimmenu=false type=SHELL fgc=whitedk bgc=0x00000000 winsize=0,0 wincoor=0,0 />
|
| <item id=Term label="cmd" type=DirectVT title="Command Prompt" notes=" run Windows Command Prompt " param="$0 -r term"/>
|
| <item id=Term label="Term" type=DirectVT title="Terminal Emulator" notes=" run built-in Terminal " param="$0 -r term">
|
| <hotkeys> <!-- not implemented -->
|
| <key*/>
|
| <key="Ctrl+'t'" action=start />
|
| <key="Ctrl+'z'" action=close />
|
| </hotkeys>
|
| <config> <!-- not implemented, only base config applied --> <!-- The following config partially overrides the base configuration. It is valid for DirectVT apps only. -->
|
| <term>
|
| <scrollback>
|
| <size=20000 /> <!-- Scrollback buffer length. -->
|
| <growstep=0 /> <!-- Scrollback buffer grow step. The buffer behaves like a ring in case of zero. -->
|
| <maxline=65535 /> <!-- Max line length. Line splits if it exceeds the limit. -->
|
| <wrap="on" /> <!-- Lines wrapping mode. -->
|
| </scrollback>
|
| <color>
|
| <color0 = blackdk /> <!-- See /config/set/* for the color name reference. -->
|
| <color1 = reddk />
|
| <color2 = greendk />
|
| <color3 = yellowdk />
|
| <color4 = bluedk />
|
| <color5 = magentadk />
|
| <color6 = cyandk />
|
| <color7 = whitedk />
|
| <color8 = blacklt />
|
| <color9 = redlt />
|
| <color10 = greenlt />
|
| <color11 = yellowlt />
|
| <color12 = bluelt />
|
| <color13 = magentalt />
|
| <color14 = cyanlt />
|
| <color15 = whitelt />
|
| <default bgc=0 fgc=15 /> <!-- Initial colors. -->
|
| <match fx=selection bgc="0xFF007F00" fgc=whitelt /> <!-- Color of the selected text occurrences. Set fx to use cell::shaders: xlight | selection | contrast | invert | reverse -->
|
| <selection>
|
| <text fx=selection bgc=bluelt fgc=whitelt /> <!-- Highlighting of the selected text in plaintext mode. -->
|
| <ansi fx=xlight/>
|
| <rich fx=xlight/>
|
| <html fx=xlight/>
|
| <none fx=selection bgc=blacklt fgc=whitedk /> <!-- Inactive selection color. -->
|
| </selection>
|
| </color>
|
| <fields>
|
| <lucent=0xC0 /> <!-- Fields transparency level. -->
|
| <size=0 /> <!-- Left/right field size. -->
|
| </fields>
|
| <tablen=8 /> <!-- Tab length. -->
|
| <cursor>
|
| <style="underline"/> <!-- block | underline -->
|
| <blink=400ms/> <!-- blink period -->
|
| <show=true/>
|
| </cursor>
|
| <menu>
|
| <enabled="on"/>
|
| <slim="false"/>
|
| </menu>
|
| <selection>
|
| <mode="text"/> <!-- text | ansi | rich | html | none -->
|
| </selection>
|
| <hotkeys> <!-- not implemented -->
|
| <key*/>
|
| <key="Alt+RightArrow" action=findNext />
|
| <key="Alt+LeftArrow" action=findPrev />
|
| </hotkeys>
|
| </term>
|
| </config>
|
| </item>
|
| <item id=PowerShell label="PowerShell" type=DirectVT title="PowerShell" param="$0 -r term powershell" fgc=15 bgc=0xFF562401 notes=" run PowerShell "/>
|
| <item id=WSL label="WSL" type=DirectVT title="Windows Subsystem for Linux" param="$0 -r term wsl" notes=" run default WSL profile "/>
|
| <!-- <item id=Far label="Far" type=SHELL title="Far Manager" param="far" notes=" run Far Manager in its own window "/> -->
|
| <!-- <item id=mc label="mc" type=SHELL title="Midnight Commander" param="mc" notes=" run Midnight Commander in its own window "/> -->
|
| <item id=Tile label="Tile" type=Group title="Tiling Window Manager" param="h1:1(Term, Term)" notes=" run Tiling Window Manager with two terminals attached "/>
|
| <item id=View label=View type=Region title="\e[11:3pView: Region" notes=" set desktop region "/>
|
| <item id=Settings label=Settings type=DirectVT title="Settings" param="$0 -r settings" notes=" run Settings " winsize=50,15 />
|
| <item id=Logs label=Logs type=DirectVT title="Logs Title" param="$0 -r logs" notes=" run Logs "/>
|
| <!-- <item splitter label="demo" notes=" Demo apps \n Feel the Desktopio Framework "/> -->
|
| <!-- <item id=Gems label="Gems" type=DirectVT title="Gems Title" param="$0 -r gems" notes=" App Distribution Hub "/> -->
|
| <!-- <item id=Text label="Text" type=DirectVT title="Text Title" param="$0 -r text" notes=" Text Editor "/> -->
|
| <!-- <item id=Calc label="Calc" type=DirectVT title="Calc Title" param="$0 -r calc" notes=" Spreadsheet Calculator "/> -->
|
| <!-- <item id=Test label="Test" type=DirectVT title="Test Title" param="$0 -r test" notes=" Test Page "/> -->
|
| <!-- <item id=Truecolor label="Truecolor" type=DirectVT title="True Title" param="$0 -r truecolor" notes=" Truecolor Test "/> -->
|
| <autorun> <!-- not implemented -->
|
| <item*/>
|
| <item*=Term winsize=48%,48% /> <!-- item*=_item_id_ - assign the same _item_id_ to each item by default. -->
|
| <item wincoor=0,0 />
|
| <item wincoor=52%,0 />
|
| <item wincoor=0,52% />
|
| <item=mc wincoor=52%,52% />
|
| </autorun>
|
| <width> <!-- not implemented -->
|
| <folded=4/>
|
| <expanded=31/>
|
| </width>
|
| </menu>
|
| <hotkeys> <!-- not implemented -->
|
| <key*/>
|
| <key="Ctrl+PgUp" action=prevWindow />
|
| <key="Ctrl+PgDn" action=nextWindow />
|
| </hotkeys>
|
| <appearance>
|
| <defaults>
|
| <fps=60 />
|
| <bordersz=1,1 />
|
| <brighter=60 />
|
| <kb_focus=60 />
|
| <shadower=180 />
|
| <shadow=180 />
|
| <lucidity=0xff /> <!-- not implemented -->
|
| <selector=48 />
|
| <highlight fgc=purewhite bgc=亮蓝 />
|
| <warning fgc=whitelt bgc=yellowdk />
|
| <danger fgc=whitelt bgc=redlt />
|
| <action fgc=whitelt bgc=greenlt />
|
| <label fgc=blackdk bgc=whitedk />
|
| <inactive fgc=blacklt bgc=nocolor />
|
| <menu_white fgc=whitelt bgc=0x80404040 />
|
| <menu_black fgc=blackdk bgc=0x80404040 />
|
| </defaults>
|
| <runapp> <!-- Override defaults. -->
|
| <brighter=0 />
|
| </runapp>
|
| </appearance>
|
| <set> <!-- Global namespace - Unresolved literals will be taken from here. -->
|
| <blackdk = 0xFF101010 /> <!-- Color reference literals. -->
|
| <reddk = 0xFF1f0fc4 />
|
| <greendk = 0xFF0ea112 />
|
| <yellowdk = 0xFF009cc0 />
|
| <bluedk = 0xFFdb3700 />
|
| <magentadk = 0xFF981787 />
|
| <cyandk = 0xFFdd963b />
|
| <whitedk = 0xFFbbbbbb />
|
| <blacklt = 0xFF757575 />
|
| <redlt = 0xFF5648e6 />
|
| <greenlt = 0xFF0cc615 />
|
| <yellowlt = 0xFFa5f1f8 />
|
| <bluelt = 0xFFff783a />
|
| <magentalt = 0xFF9e00b3 />
|
| <cyanlt = 0xFFd6d660 />
|
| <whitelt = 0xFFf3f3f3 />
|
| <pureblack = 0xFF000000 />
|
| <purewhite = 0xFFffffff />
|
| <nocolor = 0x00000000 />
|
|
|
| <黑 = blackdk /> <!-- Localized color reference literals. -->
|
| <红 = reddk />
|
| <绿 = greendk />
|
| <黄 = yellowdk />
|
| <蓝 = bluedk />
|
| <品红 = magentadk />
|
| <青 = cyandk />
|
| <白 = whitedk />
|
| <灰 = blacklt />
|
| <亮红 = redlt />
|
| <亮绿 = greenlt />
|
| <亮黄 = yellowlt />
|
| <亮蓝 = bluelt />
|
| <亮品红 = magentalt />
|
| <亮青 = cyanlt />
|
| <亮白 = whitelt />
|
| </set>
|
| <client>
|
| <background fgc=whitedk bgc=0xFF000000 /> <!-- Desktop background color. -->
|
| <clipboard>
|
| <preview enabled=true size=80x25 />
|
| </clipboard>
|
| <viewport coor=0,0 />
|
| <tooltip timeout=500ms enabled=true />
|
| <glowfx=true /> <!-- Show glow effect around selected item. -->
|
| <debug overlay=faux toggle="🐞" /> <!-- Display console debug info. -->
|
| <regions enabled=faux /> <!-- Highlight UI objects boundaries. -->
|
| </client>
|
| <term> <!-- Base configuration for the Term app. It can be partially overridden by the menu item's config subarg. -->
|
| <scrollback>
|
| <size=20000 /> <!-- Scrollback buffer length. -->
|
| <growstep=0 /> <!-- Scrollback buffer grow step. The buffer behaves like a ring in case of zero. -->
|
| <maxline=65535 /> <!-- Max line length. Line splits if it exceeds the limit. -->
|
| <wrap="on" /> <!-- Lines wrapping mode. -->
|
| </scrollback>
|
| <color>
|
| <color0 = blackdk /> <!-- See /config/set/* for the color name reference. -->
|
| <color1 = reddk />
|
| <color2 = greendk />
|
| <color3 = yellowdk />
|
| <color4 = bluedk />
|
| <color5 = magentadk />
|
| <color6 = cyandk />
|
| <color7 = whitedk />
|
| <color8 = blacklt />
|
| <color9 = redlt />
|
| <color10 = greenlt />
|
| <color11 = yellowlt />
|
| <color12 = bluelt />
|
| <color13 = magentalt />
|
| <color14 = cyanlt />
|
| <color15 = whitelt />
|
| <default bgc=0 fgc=15 /> <!-- Initial colors. -->
|
| <match fx=selection bgc="0xFF007F00" fgc=whitelt /> <!-- Color of the selected text occurrences. Set fx to use cell::shaders: xlight | selection | contrast | invert | reverse -->
|
| <selection>
|
| <text fx=selection bgc=bluelt fgc=whitelt /> <!-- Highlighting of the selected text in plaintext mode. -->
|
| <ansi fx=xlight/>
|
| <rich fx=xlight/>
|
| <html fx=xlight/>
|
| <none fx=selection bgc=blacklt fgc=whitedk /> <!-- Inactive selection color. -->
|
| </selection>
|
| </color>
|
| <fields>
|
| <lucent=0xC0 /> <!-- Fields transparency level. -->
|
| <size=0 /> <!-- Left/right field size (for hz scrolling UX). -->
|
| </fields>
|
| <tablen=8 /> <!-- Tab length. -->
|
| <cursor>
|
| <style="underline"/> <!-- block | underline -->
|
| <blink=400ms/> <!-- blink period -->
|
| <show=true/>
|
| </cursor>
|
| <menu>
|
| <enabled="on"/>
|
| <slim=true />
|
| </menu>
|
| <selection>
|
| <mode="text"/> <!-- text | ansi | rich | html | none -->
|
| </selection>
|
| <hotkeys> <!-- not implemented -->
|
| <key*/>
|
| <key="Alt+RightArrow" action=findNext />
|
| <key="Alt+LeftArrow" action=findPrev />
|
| </hotkeys>
|
| </term>
|
| <text> <!-- Base configuration for the Text app. It can be overridden by param's subargs. -->
|
| <!-- not implemented -->
|
| </text>
|
| <calc> <!-- Base configuration for the Calc app. It can be overridden by param's subargs. -->
|
| <!-- not implemented -->
|
| </calc>
|
| <logs> <!-- Base configuration for the Logs app. It can be overridden by param's subargs. -->
|
| <!-- not implemented -->
|
| </logs>
|
| <settings> <!-- Base configuration for the Settings app. It can be overridden by param's subargs. -->
|
| <!-- not implemented -->
|
| </settings>
|
| </config>
|