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. "us"). Equals to {}.
31
32       {shortDescription}: Short description of layout (e.g. "en").
33
34       {long}: Long name of layout (e.g. "English (Dvorak)").
35
36       {variant}: Variant of layout (e.g. "dvorak").
37
38       {flag}: Country flag of layout.
39

EXAMPLES

41           "sway/language": {
42                "format": "{}",
43           },
44
45           "sway/language": {
46                "format": "{short} {variant}",
47           }
48

STYLE

50#language
51
52
53
54                                  2023-08-16           waybar-sway-language(5)
Impressum