waybar-sway-language - Man Page

sway language module

Description

The language module displays the current keyboard layout in Sway

Configuration

Addressed by sway/language

format:
typeof: string
default: {}
The format, how layout should be displayed.

tooltip-format:
typeof: string
default: {}
The format, how layout should be displayed in tooltip.

tooltip:
typeof: bool
default: true
Option to disable tooltip on hover.

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").

Examples

  "sway/language": {
      "format": "{}",
  },

"sway/language": {
    "format": "{short} {variant}",
}

Style

Info

2021-11-03