update man docs for format-<lang> option

This commit is contained in:
NotAShelf 2022-08-18 20:11:44 +03:00
parent c5910ae19a
commit b181cd04b6
No known key found for this signature in database
GPG Key ID: B96DF05812633566
1 changed files with 7 additions and 0 deletions

View File

@ -17,16 +17,23 @@ Addressed by *hyprland/language*
default: {} ++ default: {} ++
The format, how information should be displayed. On {} the currently selected language is displayed. The format, how information should be displayed. On {} the currently selected language is displayed.
*format-<lang>* ++
typeof: string++
Provide an alternative name to display per language.
*keyboard-name*: ++ *keyboard-name*: ++
typeof: string ++ typeof: string ++
Specifies which keyboard to use from hyprctl devices output. Using the option that begins with "AT Translated set..." is recommended. Specifies which keyboard to use from hyprctl devices output. Using the option that begins with "AT Translated set..." is recommended.
# EXAMPLES # EXAMPLES
``` ```
"hyprland/language": { "hyprland/language": {
"format": "Lang: {}" "format": "Lang: {}"
"format-us": "AMERICA, HELL YEAH!"
"format-tr": "As bayrakları"
"keyboard-name": "AT Translated Set 2 keyboard" "keyboard-name": "AT Translated Set 2 keyboard"
} }
``` ```