Using item modifier command regardless of what slot an item is in

I'm making a datapack that seperates the functionality of books and quills, and I want the quills to constantly "dry" over time regardless of the slot they're in. Is there a way I can do this efficiently, seeing as the /item modify command only accepts one slot to edit?
Continue to help post