commit b33d74cae5e93c9e2107eb6ea80af46f2450e608 parent 935c498dec752c669b568b3185b402f3ff8d2ecc Author: Chris Down <chris@chrisdown.name> Date: Thu, 8 Feb 2018 00:55:29 +0000 Add messages when clipnotify is not detected Diffstat:
M | clipmenud | | | 5 | +++++ |
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/clipmenud b/clipmenud @@ -89,6 +89,11 @@ declare -A last_data command -v clipnotify >/dev/null 2>&1 && has_clipnotify=1 +if ! (( has_clipnotify )); then + echo "WARN: Consider installing clipnotify for better performance." >&2 + echo "WARN: See https://github.com/cdown/clipnotify." >&2 +fi + exec {lock_fd}> "$lock_file" while true; do