From 73471073b45f9e978dd117c3fe5ba2bdbbb99b97 Mon Sep 17 00:00:00 2001 From: ShuheiKubota Date: Sun, 10 Nov 2019 12:43:39 +0900 Subject: [PATCH] add: README --- README.md | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..0f94b8c --- /dev/null +++ b/README.md @@ -0,0 +1,48 @@ +keep waking Windows up + +[![Go Report Card](https://goreportcard.com/badge/github.com/shu-go/vvin)](https://goreportcard.com/report/github.com/shu-go/vvin) +![MIT License](https://img.shields.io/badge/License-MIT-blue) + +# Usage + +``` +Sub commands: + minimize, min minimize/restore + maximize, max maximize/restore + resize, move, mv resize/move + alpha set alpha 0%(transparent) - 100%(opaque) + topmost set always on top/restore + +Options: + -t, --target WINDOW_TITLE default to current window +``` + +## minimize/restore + +``` +> ./vvin -t Notepad min + +> ./vvin -t Notepad min --restore +> ./vvin -t Notepad min -r +``` + +## resize + +``` +> ./vvin -t notepad resize -x 0 -y 0 -w 60% -h 100% +``` + +## alpha + +``` +> ./vvin -t notepad alpha 75% +``` + +## always on top + +``` +> ./vvin -t notepad topmost + +> ./vvin -t notepad topmost --restore +> ./vvin -t notepad topmost -r +```