Skip to content

Commit

Permalink
Minor man page tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
rvaiya committed Nov 6, 2022
1 parent 2f83624 commit 12f764c
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 10 deletions.
Binary file modified data/keyd-application-mapper.1.gz
Binary file not shown.
Binary file modified data/keyd.1.gz
Binary file not shown.
22 changes: 12 additions & 10 deletions docs/keyd.scdoc
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ keyd(1)
*listen*
Print layer state changes of the running keyd daemon to stdout. Useful for scripting.

*bind <binding> [reset] [<binding>...]*
*bind reset|<binding> [<binding>...]*
Apply the supplied bindings. See _Bindings_ for details.

*reload*
Expand All @@ -25,7 +25,7 @@ keyd(1)
*list-keys*
List valid key names.

*input [-t <timeout>] [<text> [<text>...]]*
*input [-t <timeout>] <text> [<text>...]*
Input the supplied text. If no arguments are given, read the input from STDIN.
A timeout in microseconds may optionally be supplied corresponding to the time
between emitted events.
Expand Down Expand Up @@ -215,6 +215,16 @@ corresponding modifiers.
For example, _meta_ is actually bound to _layer(meta)_, where _meta_ is
internally defined as _meta:M_.

The full set of modifier bindings are as follows:

```
control = layer(control)
meta = layer(meta)
shift = layer(shift)
leftalt = layer(alt)
rightalt = layer(altgr)
```

A consequence of this is that overriding modifier keys is a simple matter of
adding the desired bindings to an appropriate pre-defined layer.

Expand Down Expand Up @@ -733,14 +743,6 @@ The _bind_ command accepts one or more _bindings_, each of which must have the f
\[<layer>.\]<key> = <key>|<macro>|<action>

Where _<layer>_ is the name of an (existing) layer in which the key is to be bound.
Available are user-configured layers and the following, default layers:

*main* - main layer++
*control* - Control++
*meta* - Meta/Super++
*alt* - Alt++
*shift* - Shift++
*altgr* - AltGr

As a special case, the string "reset" may be used in place of a binding, in
which case the current keymap will revert to its original state (all
Expand Down

0 comments on commit 12f764c

Please sign in to comment.