Browse Source

Base: Update keymap man page to include new functionality

Adding examples on how to use keymap tool to set a list of keymaps
Timur Sultanov 3 years ago
parent
commit
6edb34aa56
1 changed files with 8 additions and 9 deletions
  1. 8 9
      Base/usr/share/man/man1/keymap.md

+ 8 - 9
Base/usr/share/man/man1/keymap.md

@@ -5,30 +5,29 @@ keymap - load a keyboard layout
 ## Synopsis
 
 ```**sh
-$ keymap [name|file]
+$ keymap [--set-keymap keymap] [--set-keymaps keymaps]
 ```
 
 ## Description
 
-The `keymap` utility can be used to set a keyboard layout using the given name or file.
+The `keymap` utility can be used to configure the list of selected keyboard layout and switch between them.
 
-Loading by name will search for keyboard layout files in `/res/keymaps/*.json`.
+Layouts loaded from `/res/keymaps/*.json`.
 
 ## Examples
 
-Get name of the currently loaded keymap:
+Get name of the currently set keymap:
 ```sh
 $ keymap
 en-us
 ```
 
-Load a keyboard layout by name:
+Select a new list of keymaps:
 ```sh
-$ keymap en-us
+$ keymap --set-keymaps en-us,ru
 ```
 
-Load a keyboard layout using a file:
+Set a keymap:
 ```sh
-$ keymap /res/keymaps/en-us.json
-$ keymap ./map.json
+$ keymap --set-keymap ru
 ```