From 827396237253d3c784c7455a9f3f2c26a8128c51 Mon Sep 17 00:00:00 2001 From: Raimund Sacherer Date: Sat, 7 Oct 2023 19:37:04 +0200 Subject: Enable the use of flash as visual bell With this patch we can configure flash in the bell section. The colors section allow now to configure the color and translucency of the flash. --- doc/foot.ini.5.scd | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'doc') diff --git a/doc/foot.ini.5.scd b/doc/foot.ini.5.scd index 5ef4dcb4..84250b40 100644 --- a/doc/foot.ini.5.scd +++ b/doc/foot.ini.5.scd @@ -394,6 +394,11 @@ Note: do not set *TERM* here; use the *term* option in the main Default: _no_ +*visual* + When set to _yes_, foot will flash terminal window. + + Default: _no_ + *command* When set, foot will execute this command when *BEL* is received. Default: none @@ -609,6 +614,17 @@ can configure the background transparency with the _alpha_ option. https://en.wikipedia.org/wiki/ANSI_escape_code#8-bit for an explanation of the remainder. +*flash* + Color to use for the terminal window flash. + + Default: _7f7f00_. + +*flash_alpha* + Flash translucency. A value in the range 0.0-1.0, where 0.0 + means completely transparent, and 1.0 is opaque. + + Default: _0.5_. + *alpha* Background translucency. A value in the range 0.0-1.0, where 0.0 means completely transparent, and 1.0 is opaque. Default: _1.0_. -- cgit v1.3 From 8a2a45077812efdf74a0fbcf565ed280a9e37954 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Tue, 10 Oct 2023 08:07:02 +0200 Subject: doc: foot.ini: flash: tweak grammar, use consistent formatting --- doc/foot.ini.5.scd | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) (limited to 'doc') diff --git a/doc/foot.ini.5.scd b/doc/foot.ini.5.scd index 84250b40..bc63bb27 100644 --- a/doc/foot.ini.5.scd +++ b/doc/foot.ini.5.scd @@ -395,9 +395,8 @@ Note: do not set *TERM* here; use the *term* option in the main Default: _no_ *visual* - When set to _yes_, foot will flash terminal window. - - Default: _no_ + When set to _yes_, foot will flash the terminal window. Default: + _no_ *command* When set, foot will execute this command when *BEL* is received. @@ -615,15 +614,11 @@ can configure the background transparency with the _alpha_ option. explanation of the remainder. *flash* - Color to use for the terminal window flash. - - Default: _7f7f00_. + Color to use for the terminal window flash. Default: _7f7f00_. *flash_alpha* - Flash translucency. A value in the range 0.0-1.0, where 0.0 - means completely transparent, and 1.0 is opaque. - - Default: _0.5_. + Flash translucency. A value in the range 0.0-1.0, where 0.0 means + completely transparent, and 1.0 is opaque. Default: _0.5_. *alpha* Background translucency. A value in the range 0.0-1.0, where 0.0 -- cgit v1.3 From 0c6a3731c3ccb82eeeea92e82578d26d79b3f115 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Tue, 10 Oct 2023 08:11:22 +0200 Subject: doc: foot.ini.5: flash_alpha -> flash-alpha --- doc/foot.ini.5.scd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/foot.ini.5.scd b/doc/foot.ini.5.scd index bc63bb27..e4444c6f 100644 --- a/doc/foot.ini.5.scd +++ b/doc/foot.ini.5.scd @@ -616,7 +616,7 @@ can configure the background transparency with the _alpha_ option. *flash* Color to use for the terminal window flash. Default: _7f7f00_. -*flash_alpha* +*flash-alpha* Flash translucency. A value in the range 0.0-1.0, where 0.0 means completely transparent, and 1.0 is opaque. Default: _0.5_. -- cgit v1.3 From ce64da2fe1836883323d618664cb0f9e090fbbb8 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Tue, 10 Oct 2023 08:12:04 +0200 Subject: doc: foot.ini.5: move flash{,-alpha} to the bottom of the 'colors' section --- doc/foot.ini.5.scd | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'doc') diff --git a/doc/foot.ini.5.scd b/doc/foot.ini.5.scd index e4444c6f..b7b79e75 100644 --- a/doc/foot.ini.5.scd +++ b/doc/foot.ini.5.scd @@ -613,13 +613,6 @@ can configure the background transparency with the _alpha_ option. https://en.wikipedia.org/wiki/ANSI_escape_code#8-bit for an explanation of the remainder. -*flash* - Color to use for the terminal window flash. Default: _7f7f00_. - -*flash-alpha* - Flash translucency. A value in the range 0.0-1.0, where 0.0 means - completely transparent, and 1.0 is opaque. Default: _0.5_. - *alpha* Background translucency. A value in the range 0.0-1.0, where 0.0 means completely transparent, and 1.0 is opaque. Default: _1.0_. @@ -653,6 +646,13 @@ can configure the background transparency with the _alpha_ option. Color to use for the underline used to highlight URLs in URL mode. Default: _regular3_. +*flash* + Color to use for the terminal window flash. Default: _7f7f00_. + +*flash-alpha* + Flash translucency. A value in the range 0.0-1.0, where 0.0 means + completely transparent, and 1.0 is opaque. Default: _0.5_. + # SECTION: csd This section controls the look of the _CSDs_ (Client Side -- cgit v1.3