.\" Generated by scdoc 1.11.3 .\" Complete documentation for this program is not available as a GNU info page .ie \n(.g .ds Aq \(aq .el .ds Aq ' .nh .ad l .\" Begin generated content: .TH "waybar-sway-language" "5" "2024-05-06" .PP .SH NAME .PP waybar - sway language module .PP .SH DESCRIPTION .PP The \fBlanguage\fR module displays the current keyboard layout in Sway .PP .SH CONFIGURATION .PP Addressed by \fBsway/language\fR .PP \fBformat\fR: .br typeof: string .br default: {} .br The format, how layout should be displayed.\& .PP \fBhide-single-layout\fR: .br typeof: bool .br default: false .br Defines visibility of the module if a single layout is configured .PP \fBtooltip-format\fR: .br typeof: string .br default: {} .br The format, how layout should be displayed in tooltip.\& .PP \fBtooltip\fR: .br typeof: bool .br default: true .br Option to disable tooltip on hover.\& .PP .SH FORMAT REPLACEMENTS .PP \fB{short}\fR: Short name of layout (e.\&g.\& "us").\& Equals to {}.\& .PP \fB{shortDescription}\fR: Short description of layout (e.\&g.\& "en").\& .PP \fB{long}\fR: Long name of layout (e.\&g.\& "English (Dvorak)").\& .PP \fB{variant}\fR: Variant of layout (e.\&g.\& "dvorak").\& .PP \fB{flag}\fR: Country flag of layout.\& .PP .SH EXAMPLES .PP .nf .RS 4 "sway/language": { "format": "{}", }, "sway/language": { "format": "{short} {variant}", } .fi .RE .PP .SH STYLE .PP .PD 0 .IP \(bu 4 \fB#language\fR