add: section for wait command in README
This commit is contained in:
parent
06328ac51f
commit
abbe58ff5e
1 changed files with 16 additions and 0 deletions
16
README.md
16
README.md
|
@ -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
|
||||||
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue