diff --git a/i38.sh b/i38.sh index e78dcd4..6203f31 100755 --- a/i38.sh +++ b/i38.sh @@ -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[*]}"