Add messages when clipnotify is not detected
This commit is contained in:
parent
935c498dec
commit
b33d74cae5
|
@ -89,6 +89,11 @@ declare -A last_data
|
||||||
|
|
||||||
command -v clipnotify >/dev/null 2>&1 && has_clipnotify=1
|
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"
|
exec {lock_fd}> "$lock_file"
|
||||||
|
|
||||||
while true; do
|
while true; do
|
||||||
|
|
Loading…
Reference in a new issue