Add a check for the python i3ipc library.

This commit is contained in:
stormdragon2976 2022-12-02 15:21:19 -05:00
parent 3aa6da5170
commit 176bb60292

3
i38.sh
View File

@ -14,6 +14,9 @@ for i in dialog grun jq sgtk-menu yad ; do
missing+=("$i")
fi
done
if ! python3 -c 'import i3ipc' &> /dev/null ; then
missing+=("python-i3ipc")
fi
if [[ -n "${missing}" ]]; then
echo "Please install the following packages and run this script again:"
echo "${missing[*]}"