Oh dear there is not such a thing as "usedn’t". Say " I didn't use to like it very much when/while I was majoring/majored in it. " I would choose simple past.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.