Update styling page and add tabicon option

This commit is contained in:
Tracy Miranda
2023-11-15 11:43:52 -08:00
committed by sawka
parent 86b445a93a
commit 3dcf8c5e61
2 changed files with 29 additions and 7 deletions
+21
View File
@@ -4,6 +4,27 @@ description: 'Wave lets you customize the look and feel of your terminal'
icon: 'paintbrush'
---
<img height="200" src="/path/appearance.gif" />
## Tab Settings
You can customize each tab when you create it or by using the tab settings after creation. Tabs can also be customized from the command line.
Example:
```
/screen:set name="prod"
/screen:set tabcolor=red
/screen:set tabicon=fire
```
See the full list of options for the [/screen:set](https://docs.waveterm.dev/reference/slashcommands#screen-set) slashcommand.
## Workspace Settings
You can customize the name of each workspace from the workspace settings or from the command line.
Example:
```
/session:set name="python development"
```
See the full list of options for the [/session:set](https://docs.waveterm.dev/reference/slashcommands#session-set) slashcommand.
+8 -7
View File
@@ -183,18 +183,19 @@ Updates screen parameters
```
Usage:
/screen:set [name=name] [tabcolor=color]
/screen:set [name=name] [tabcolor=color] [tabicon=icon]
/screen:set [anchor=anchor] [focus=focus] [line=line]
```
Options:
* name - set the name of the screen in the tab bar
* tabcolor - set the color of the tab
* anchor - sets the current scroll anchor position (used by client)
* focus - sets the focus type for the screen (used by client) ("input" or "cmd")
* line - sets the currently selected line
* sharename - sets the sharename for web sharing
* `name` - set the name of the screen in the tab bar
* `tabcolor` - set the color of the tab
* `tabicon` - set the icon of the tab
* `anchor` - sets the current scroll anchor position (used by client)
* `focus` - sets the focus type for the screen (used by client) ("input" or "cmd")
* `line` - sets the currently selected line
* `sharename` - sets the sharename for web sharing
### /screen:showall