local each
local epicfail

case "$(installed_version $SPELL)" in
  1.4.2|1.3.0.0|1.2.99.903|1.2.99.902|1.2.0|1.1.1|1.0.1|1.0.0|0.99.4) epicfail=y;;
  *) epicfail=n;;
esac &&

for each in synaptics $(gaze -q -g "$(gaze -q grimoires | tr " " "\n" | \
  grep -Ex "test|stable(-rc|-[0-9]+\.[0-9]+)?")" section xorg-driver) \
  xkbutils xkbcomp xkbprint xkbevd xkeyboard-config setxkbmap; do
  if spell_ok $each; then
    if [[ $epicfail == y ]]; then
      up_trigger $each cast_self
    else
      up_trigger $each check_self
    fi
  fi
done
