From abbe58ff5ebcab2a8c4670e13d8884bc250750af Mon Sep 17 00:00:00 2001 From: ShuheiKubota Date: Mon, 18 Nov 2019 14:55:57 +0900 Subject: [PATCH] add: section for wait command in README --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.md b/README.md index 0f94b8c..766dbf2 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,7 @@ Sub commands: resize, move, mv resize/move alpha set alpha 0%(transparent) - 100%(opaque) topmost set always on top/restore + wait wait for a window is opened/closed ([--close] {Title}) Options: -t, --target WINDOW_TITLE default to current window @@ -46,3 +47,18 @@ Options: > ./vvin -t notepad topmost --restore > ./vvin -t notepad topmost -r ``` + +## wait + +### wait for a window to appear + +``` +> ./vvin wait notepad +``` + +### wait closed + +``` +> ./vvin wait notepad --closed +``` +