mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-15 00:06:09 +03:00
@ -996,6 +996,21 @@ fn loadRuntimeCss(
|
|||||||
unfocused_fill.b,
|
unfocused_fill.b,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
if (config.@"split-divider-color") |color| {
|
||||||
|
try writer.print(
|
||||||
|
\\.terminal-window .notebook separator {{
|
||||||
|
\\ color: rgb({[r]d},{[g]d},{[b]d});
|
||||||
|
\\ background: rgb({[r]d},{[g]d},{[b]d});
|
||||||
|
\\}}
|
||||||
|
,
|
||||||
|
.{
|
||||||
|
.r = color.r,
|
||||||
|
.g = color.g,
|
||||||
|
.b = color.b,
|
||||||
|
},
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
if (version.atLeast(4, 16, 0)) {
|
if (version.atLeast(4, 16, 0)) {
|
||||||
switch (window_theme) {
|
switch (window_theme) {
|
||||||
.ghostty => try writer.print(
|
.ghostty => try writer.print(
|
||||||
|
@ -610,6 +610,10 @@ palette: Palette = .{},
|
|||||||
/// Specified as either hex (`#RRGGBB` or `RRGGBB`) or a named X11 color.
|
/// Specified as either hex (`#RRGGBB` or `RRGGBB`) or a named X11 color.
|
||||||
@"unfocused-split-fill": ?Color = null,
|
@"unfocused-split-fill": ?Color = null,
|
||||||
|
|
||||||
|
/// The color of the divider between splits. If unset the default system color
|
||||||
|
/// will be used. GTK only.
|
||||||
|
@"split-divider-color": ?Color = null,
|
||||||
|
|
||||||
/// The command to run, usually a shell. If this is not an absolute path, it'll
|
/// The command to run, usually a shell. If this is not an absolute path, it'll
|
||||||
/// be looked up in the `PATH`. If this is not set, a default will be looked up
|
/// be looked up in the `PATH`. If this is not set, a default will be looked up
|
||||||
/// from your system. The rules for the default lookup are:
|
/// from your system. The rules for the default lookup are:
|
||||||
|
Reference in New Issue
Block a user