From 3dcf8c5e612b84b64072401903b46980d80dbede Mon Sep 17 00:00:00 2001 From: Tracy Miranda Date: Wed, 15 Nov 2023 14:38:45 -0500 Subject: [PATCH] Update styling page and add tabicon option --- features/appearance.mdx | 21 +++++++++++++++++++++ reference/slashcommands.mdx | 15 ++++++++------- 2 files changed, 29 insertions(+), 7 deletions(-) diff --git a/features/appearance.mdx b/features/appearance.mdx index 4a59026..4ae903f 100644 --- a/features/appearance.mdx +++ b/features/appearance.mdx @@ -4,6 +4,27 @@ description: 'Wave lets you customize the look and feel of your terminal' icon: 'paintbrush' --- + + + ## 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. diff --git a/reference/slashcommands.mdx b/reference/slashcommands.mdx index f2f1e10..d93a390 100644 --- a/reference/slashcommands.mdx +++ b/reference/slashcommands.mdx @@ -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