diff --git a/README.md b/README.md index b154404..f9ba349 100644 --- a/README.md +++ b/README.md @@ -28,3 +28,14 @@ sup-randpass 20 -w # generate password of length 32 containing alphanumeric characters or '+' '-' '%' sup-randpass 20 -w +-% ``` + +## Advanced Usage +### Show and Copy to Clipboard in Wayland Environment +Assume you have `wl-copy` installed. +Add the following line to your rc file: +``` +sup-randpass() { + command sup-randpass "$@" | tee >(wl-copy); echo +} +``` +Source your rc file and generate password as before.