add: section for wait command in README

This commit is contained in:
ShuheiKubota 2019-11-18 14:55:57 +09:00
parent 06328ac51f
commit abbe58ff5e

View file

@ -12,6 +12,7 @@ Sub commands:
resize, move, mv resize/move resize, move, mv resize/move
alpha set alpha 0%(transparent) - 100%(opaque) alpha set alpha 0%(transparent) - 100%(opaque)
topmost set always on top/restore topmost set always on top/restore
wait wait for a window is opened/closed ([--close] {Title})
Options: Options:
-t, --target WINDOW_TITLE default to current window -t, --target WINDOW_TITLE default to current window
@ -46,3 +47,18 @@ Options:
> ./vvin -t notepad topmost --restore > ./vvin -t notepad topmost --restore
> ./vvin -t notepad topmost -r > ./vvin -t notepad topmost -r
``` ```
## wait
### wait for a window to appear
```
> ./vvin wait notepad
```
### wait closed
```
> ./vvin wait notepad --closed
```