1waybar-sway-language(5)       File Formats Manual      waybar-sway-language(5)
2
3
4

NAME

6       waybar - sway language module
7

DESCRIPTION

9       The language module displays the current keyboard layout in Sway
10

CONFIGURATION

12       Addressed by sway/language
13
14       format:
15            typeof: string
16            default: {}
17            The format, how layout should be displayed.
18
19       tooltip-format:
20            typeof: string
21            default: {}
22            The format, how layout should be displayed in tooltip.
23
24       tooltip:
25            typeof: bool
26            default: true
27            Option to disable tooltip on hover.
28

FORMAT REPLACEMENTS

30       {short}: Short name of layout (e.g. "en"). Equals to {}.
31
32       {long}: Long name of layout (e.g. "English (Dvorak)").
33
34       {variant}: Variant of layout (e.g. "Dvorak").
35

EXAMPLES

37           "sway/language": {
38               "format": "{}",
39           },
40
41           "sway/language": {
42               "format": "{short} {variant}",
43           }
44

STYLE

46#language
47
48
49
50                                  2021-11-02           waybar-sway-language(5)
Impressum