waybar/man/waybar-sway-language.5.scd

57 lines
914 B
Plaintext
Raw Permalink Normal View History

waybar-sway-language(5)
# NAME
waybar - sway language module
# DESCRIPTION
The *language* module displays the current keyboard layout in Sway
# CONFIGURATION
Addressed by *sway/language*
*format*: ++
typeof: string ++
default: {} ++
2021-07-13 03:33:12 +02:00
The format, how layout should be displayed.
2021-07-24 16:26:49 +02:00
*tooltip-format*: ++
2021-07-24 16:24:37 +02:00
typeof: string ++
default: {} ++
The format, how layout should be displayed in tooltip.
*tooltip*: ++
typeof: bool ++
default: true ++
Option to disable tooltip on hover.
2021-07-13 03:33:12 +02:00
# FORMAT REPLACEMENTS
2021-08-17 04:28:41 +02:00
*{short}*: Short name of layout (e.g. "us"). Equals to {}.
*{shortDescription}*: Short description of layout (e.g. "en").
2021-07-13 03:33:12 +02:00
*{long}*: Long name of layout (e.g. "English (Dvorak)").
2021-08-17 04:28:41 +02:00
*{variant}*: Variant of layout (e.g. "dvorak").
2021-07-13 03:33:12 +02:00
2021-08-25 22:18:56 +02:00
*{flag}*: Country flag of layout.
# EXAMPLES
```
"sway/language": {
"format": "{}",
2021-07-13 03:33:12 +02:00
},
"sway/language": {
"format": "{short} {variant}",
}
```
# STYLE
- *#language*