You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Long: `Set a background image or color for a tab. Colors can be specified as:
25
25
- A quoted hex value like "#ff0000" (quotes required to prevent # being interpreted as a shell comment)
@@ -31,18 +31,22 @@ You can also:
31
31
- Use --opacity without other arguments to change just the opacity
32
32
- Use --center for centered images without scaling (good for logos)
33
33
- Use --scale with --center to control image size
34
+
- Use --border-color to set the block frame border color
35
+
- Use --active-border-color to set the block frame focused border color
34
36
- Use --print to see the metadata without applying it`,
35
37
RunE: setBgRun,
36
38
PreRunE: preRunSetupRpcClient,
37
39
}
38
40
39
41
var (
40
-
setBgOpacityfloat64
41
-
setBgTilebool
42
-
setBgCenterbool
43
-
setBgSizestring
44
-
setBgClearbool
45
-
setBgPrintbool
42
+
setBgOpacityfloat64
43
+
setBgTilebool
44
+
setBgCenterbool
45
+
setBgSizestring
46
+
setBgClearbool
47
+
setBgPrintbool
48
+
setBgBorderColorstring
49
+
setBgActiveBorderColorstring
46
50
)
47
51
48
52
funcinit() {
@@ -53,8 +57,9 @@ func init() {
53
57
setBgCmd.Flags().StringVar(&setBgSize, "size", "auto", "size for centered images (px, %, or auto)")
54
58
setBgCmd.Flags().BoolVar(&setBgClear, "clear", false, "clear the background")
55
59
setBgCmd.Flags().BoolVar(&setBgPrint, "print", false, "print the metadata without applying it")
60
+
setBgCmd.Flags().StringVar(&setBgBorderColor, "border-color", "", "block frame border color (#RRGGBB, #RRGGBBAA, or CSS color name)")
61
+
setBgCmd.Flags().StringVar(&setBgActiveBorderColor, "active-border-color", "", "block frame focused border color (#RRGGBB, #RRGGBBAA, or CSS color name)")
| autoupdate:intervalms | float64 | time in milliseconds to wait between update checks (requires app restart) |
93
93
| autoupdate:installonquit | bool | whether to automatically install updates on quit (requires app restart) |
94
94
| autoupdate:channel | string | the auto update channel "latest" (stable builds), or "beta" (updated more frequently) (requires app restart) |
95
-
| tab:preset | string | a "bg@" preset to automatically apply to new tabs. e.g. `bg@green`. should match the preset key |
95
+
| tab:preset <DeprecatedBadge /> | string | a "bg@" preset to automatically apply to new tabs. e.g. `bg@green`. should match the preset key. deprecated in favor of `tab:background`|
96
+
| tab:background <VersionBadgeversion="v0.14.4" /> | string | a "bg@" preset to automatically apply to new tabs. e.g. `bg@green`. should match the preset key |
96
97
| tab:confirmclose | bool | if set to true, a confirmation dialog will be shown before closing a tab (defaults to false) |
97
98
| widget:showhelp | bool | whether to show help/tips widgets in right sidebar |
98
99
| window:transparent | bool | set to true to enable window transparency (cannot be combined with `window:blur`) (macOS and Windows only, requires app restart, see [note on Windows compatibility](https://www.electronjs.org/docs/latest/tutorial/custom-window-styles#limitations)) |
Copy file name to clipboardExpand all lines: docs/docs/customization.mdx
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,9 @@ title: "Customization"
10
10
11
11
Right click on any tab to bring up a menu which allows you to rename the tab and select different backgrounds.
12
12
13
-
It is also possible to create your own themes using custom colors, gradients, images and more by editing your presets.json config file. To see how Wave's built in tab themes are defined, you can check out our [default presets file](https://github.com/wavetermdev/waveterm/blob/main/pkg/wconfig/defaultconfig/presets.json).
13
+
It is also possible to create your own background themes using custom colors, gradients, images and more by editing your backgrounds.json config file. To see how Wave's built-in tab backgrounds are defined, you can check out the [default backgrounds.json file](https://github.com/wavetermdev/waveterm/blob/main/pkg/wconfig/defaultconfig/backgrounds.json).
14
+
15
+
To apply a tab background to all new tabs by default, set the key `tab:background` in your [Wave Config File](/config) to one of the background preset keys (e.g. `"bg@ocean-depths"`). The available built-in background keys can be found in the [default backgrounds.json file](https://github.com/wavetermdev/waveterm/blob/main/pkg/wconfig/defaultconfig/backgrounds.json).
14
16
15
17
## Terminal Customization
16
18
@@ -26,8 +28,6 @@ in the [default termthemes.json file](https://github.com/wavetermdev/waveterm/bl
26
28
27
29
If you add your own termthemes.json file in the config directory, you can also add your own custom terminal themes (just follow the same format).
28
30
29
-
You can set the key `tab:preset` in your [Wave Config File](/config) to apply a theme to all new tabs.
30
-
31
31
#### Font Size
32
32
33
33
From the same context menu you can also change the font-size of the terminal. To change the default font size across all of your (non-overridden) terminals, you can set the config key `term:fontsize` to the size you want. e.g. `{ "term:fontsize": 14}`.
@@ -79,6 +79,6 @@ To preview the metadata for any background without applying it, use the `--print
79
79
wsh setbg --print "#ff0000"
80
80
```
81
81
82
-
For more advanced customization options including gradients, colors, and saving your own background presets, check out our [Background Configuration](/presets#background-configurations) documentation.
82
+
For more advanced customization options including gradients, colors, and saving your own custom backgrounds, check out our [Tab Backgrounds](/tab-backgrounds) documentation.
Copy file name to clipboardExpand all lines: docs/docs/releasenotes.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -479,7 +479,7 @@ New minor release that introduces Wave's connected computing extensions. We've i
479
479
480
480
### v0.9.2 — Nov 11, 2024
481
481
482
-
New minor release with bug fixes and new features! Fixed the bug around making Wave fullscreen (also affecting certain window managers like Hyprland). We've also put a lot of work into the doc site (https://docs.waveterm.dev), including documenting how [Widgets](./widgets) and [Presets](./presets) work!
482
+
New minor release with bug fixes and new features! Fixed the bug around making Wave fullscreen (also affecting certain window managers like Hyprland). We've also put a lot of work into the doc site (https://docs.waveterm.dev), including documenting how [Widgets](./widgets) and Presets work!
483
483
484
484
- Updated documentation
485
485
- Wave AI now supports the Anthropic API! Checkout the [FAQ](./faq) for how to use the Claude models with Wave AI.
0 commit comments