From bb6e409e3a5f8d1b2d92eb7c5a3c4de73ea42985 Mon Sep 17 00:00:00 2001 From: Philipp Gesang Date: Wed, 22 Dec 2021 17:41:59 +0100 Subject: =?UTF-8?q?expand=20docs=20to=20cover=20=E2=80=9Ckb=20{leds,flags}?= =?UTF-8?q?=E2=80=9D=20split?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- doc/vtcol.rst | 25 +++++++++++++++++++++---- 1 file changed, 21 insertions(+), 4 deletions(-) (limited to 'doc') diff --git a/doc/vtcol.rst b/doc/vtcol.rst index e601fdd..7166c72 100644 --- a/doc/vtcol.rst +++ b/doc/vtcol.rst @@ -36,9 +36,9 @@ they operate on: Inspect and manipulate the console palette. -**leds** +**kb** - Keyboad LED state. + Keyboard manipulation (LEds, modifiers). vtcol colors commands ##################### @@ -100,8 +100,8 @@ vtcol colors commands $ vtcol colors fade --ms 1337 --from solarized --to solarized_light -vtcol leds commands -################### +vtcol kb leds commands +###################### **get** @@ -122,6 +122,23 @@ vtcol leds commands $ vtcol leds set --revert +vtcol kb flags commands +###################### + +**get** + + Get the current keyboard flags. Example: :: + + $ vtcol -C /dev/tty6 kb flags get + [flags: caps: false, num: false, scroll: false; default: caps: false, num: false, scroll: false] + +**set** + + Set the state of individual keyboard LEDs: :: + + $ vtcol flags set --caps on --num off + + global options ------------------------------------------------------------------------------- -- cgit v1.2.3