minor usage formatting
This commit is contained in:
parent
1b330dd7c1
commit
41268e1ece
4 changed files with 38 additions and 43 deletions
|
@ -45,10 +45,9 @@ keep writing commands to the same instance or use the daemon and client,
|
||||||
|
|
||||||
## Keyboard Layouts
|
## Keyboard Layouts
|
||||||
|
|
||||||
dotool will produce gobbledygook if your environment has assigned it a
|
dotool will type gobbledygook if your environment has assigned it a different
|
||||||
different keyboard layout than it's simulating keycodes for. You can
|
keyboard layout than it's simulating keycodes for. You can match them up
|
||||||
match them up with the environment variables `DOTOOL_XKB_LAYOUT` and
|
with the environment variables `DOTOOL_XKB_LAYOUT` and `DOTOOL_XKB_VARIANT`.
|
||||||
`DOTOOL_XKB_VARIANT`.
|
|
||||||
|
|
||||||
echo type azerty | DOTOOL_XKB_LAYOUT=fr dotool
|
echo type azerty | DOTOOL_XKB_LAYOUT=fr dotool
|
||||||
|
|
||||||
|
|
10
dotool.go
10
dotool.go
|
@ -69,10 +69,9 @@ and dotoolc.
|
||||||
echo type speedy | dotoolc
|
echo type speedy | dotoolc
|
||||||
|
|
||||||
|
|
||||||
dotool will produce gobbledygook if your environment has assigned it a
|
dotool will type gobbledygook if your environment has assigned it a different
|
||||||
different keyboard layout than it's simulating keycodes for. You can
|
keyboard layout than it's simulating keycodes for. You can match them up
|
||||||
match them up with the environment variables DOTOOL_XKB_LAYOUT and
|
with the environment variables DOTOOL_XKB_LAYOUT and DOTOOL_XKB_VARIANT.
|
||||||
DOTOOL_XKB_VARIANT.
|
|
||||||
|
|
||||||
echo type azerty | DOTOOL_XKB_LAYOUT=fr dotool
|
echo type azerty | DOTOOL_XKB_LAYOUT=fr dotool
|
||||||
|
|
||||||
|
@ -84,8 +83,7 @@ DOTOOL_XKB_VARIANT.
|
||||||
Print the possible XKB keys and exit.
|
Print the possible XKB keys and exit.
|
||||||
|
|
||||||
--version
|
--version
|
||||||
Print the version and exit.
|
Print the version and exit.`)
|
||||||
`)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func fatal(a ...any) {
|
func fatal(a ...any) {
|
||||||
|
|
7
dotoolc
7
dotoolc
|
@ -1,9 +1,8 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
if [ $# != 0 ]; then
|
if [ $# != 0 ]; then
|
||||||
echo 'dotoolc writes its stdin to the pipe being read by dotoold.
|
echo 'dotoolc writes its stdin to the pipe being read by dotoold. dotoolc will
|
||||||
dotoolc will exit immediately if the pipe is not being read.
|
exit immediately if the pipe is not being read. The path of the pipe
|
||||||
The path of the pipe is $DOTOOL_PIPE else /tmp/dotool-pipe.
|
is $DOTOOL_PIPE else /tmp/dotool-pipe.' >&2
|
||||||
' >&2
|
|
||||||
[ "$1" = -h ] || [ "$1" = --help ]; exit
|
[ "$1" = -h ] || [ "$1" = --help ]; exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
7
dotoold
7
dotoold
|
@ -1,9 +1,8 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
if [ $# != 0 ]; then
|
if [ $# != 0 ]; then
|
||||||
echo 'dotoold runs dotool reading from a pipe for dotoolc to write to.
|
echo 'dotoold runs dotool reading from a pipe for dotoolc to write to. dotoold
|
||||||
dotoold will exit immediately if the pipe is already being read.
|
will exit immediately if the pipe is already being read. The path used
|
||||||
The path used for the pipe is $DOTOOL_PIPE else /tmp/dotool-pipe.
|
for the pipe is $DOTOOL_PIPE else /tmp/dotool-pipe.' >&2
|
||||||
' >&2
|
|
||||||
[ "$1" = -h ] || [ "$1" = --help ]; exit
|
[ "$1" = -h ] || [ "$1" = --help ]; exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue