.\" 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-niri-language" "5" "2024-09-15" .PP .SH NAME .PP waybar - niri language module .PP .SH DESCRIPTION .PP The \fBlanguage\fR module displays the currently selected language in niri.\& .PP .SH CONFIGURATION .PP Addressed by \fBniri/language\fR .PP \fBformat\fR: .br typeof: string .br default: {} .br The format, how information should be displayed.\& .PP \fBformat-\fR .br typeof: string .br Provide an alternative name to display per language where is the language of your choosing.\& Can be passed multiple times with multiple languages as shown by the example below.\& .PP \fBmenu\fR: .br typeof: string .br Action that popups the menu.\& .PP \fBmenu-file\fR: .br typeof: string .br Location of the menu descriptor file.\& There need to be an element of type GtkMenu with id \fBmenu\fR .PP \fBmenu-actions\fR: .br typeof: array .br The actions corresponding to the buttons of the menu.\& .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 .SH EXAMPLES .PP .nf .RS 4 "niri/language": { "format": "Lang: {long}" "format-en": "AMERICA, HELL YEAH!" "format-tr": "As bayrakları" } .fi .RE .PP .SH STYLE .PP .PD 0 .IP \(bu 4 \fB#language\fR