2020-10-20 09:20:58 +00:00
|
|
|
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 01:33:12 +00:00
|
|
|
The format, how layout should be displayed.
|
2020-10-20 09:20:58 +00:00
|
|
|
|
|
|
|
*tooltip*: ++
|
|
|
|
typeof: bool ++
|
|
|
|
default: true ++
|
|
|
|
Option to disable tooltip on hover.
|
|
|
|
|
2021-07-13 01:33:12 +00:00
|
|
|
# FORMAT REPLACEMENTS
|
|
|
|
|
|
|
|
*{short}*: Short name of layout (e.g. "en"). Equals to {}.
|
|
|
|
|
|
|
|
*{long}*: Long name of layout (e.g. "English (Dvorak)").
|
|
|
|
|
|
|
|
*{variant}*: Variant of layout (e.g. "Dvorak").
|
|
|
|
|
2020-10-20 09:20:58 +00:00
|
|
|
# EXAMPLES
|
|
|
|
|
|
|
|
```
|
|
|
|
"sway/language": {
|
|
|
|
"format": "{}",
|
2021-07-13 01:33:12 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
"sway/language": {
|
|
|
|
"format": "{short} {variant}",
|
2020-10-20 09:20:58 +00:00
|
|
|
}
|
|
|
|
```
|
|
|
|
|
|
|
|
# STYLE
|
|
|
|
|
|
|
|
- *#language*
|