Add a check for the python i3ipc library.
This commit is contained in:
parent
3aa6da5170
commit
176bb60292
3
i38.sh
3
i38.sh
@ -14,6 +14,9 @@ for i in dialog grun jq sgtk-menu yad ; do
|
|||||||
missing+=("$i")
|
missing+=("$i")
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
if ! python3 -c 'import i3ipc' &> /dev/null ; then
|
||||||
|
missing+=("python-i3ipc")
|
||||||
|
fi
|
||||||
if [[ -n "${missing}" ]]; then
|
if [[ -n "${missing}" ]]; then
|
||||||
echo "Please install the following packages and run this script again:"
|
echo "Please install the following packages and run this script again:"
|
||||||
echo "${missing[*]}"
|
echo "${missing[*]}"
|
||||||
|
Loading…
Reference in New Issue
Block a user