From 265992fc4ffdac7c35fe0a86c23fe85c25ed8e48 Mon Sep 17 00:00:00 2001 From: nadrad Date: Thu, 15 Sep 2022 10:04:35 +0200 Subject: [PATCH] clipboard tool as a requirement --- h-m-m | 2 +- readme.md | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/h-m-m b/h-m-m index 486deb6..217121b 100755 --- a/h-m-m +++ b/h-m-m @@ -185,7 +185,7 @@ function check_the_available_clipboard_tool(&$mm) if (trim($tool)==='') { - echo "Can't find your clipboard tool! I expected to find xclip, xsel, or wl-copy.\n"; + echo "Can't find your clipboard tool! I expected to find xclip, xsel, or wl-clipboard.\n"; exit; } diff --git a/readme.md b/readme.md index c3f973f..8c6bf40 100644 --- a/readme.md +++ b/readme.md @@ -114,6 +114,8 @@ After downloading or cloning, you can run `php h-m-m` in your terminal to run th Optionally, you can make the file executable by running the `chmod +x h-m-m` in your terminal, and afterward, you can run it as `h-m-m filename` (assuming that **h-m-m** is in your path). +In Linux, you need to have `xclip`, `xsel`, or `wl-clipboard` installed as well. + # Troubleshooting