@TruthSandwich You are probably right, and yea I saw this link already, it is usually my go to site for trope questions.
I know that horn-rimmed glasses were associated with bookworms long before TV was invented, even before moving pictures.
"Nerd" as word didn't exist before the 1960s. Also, the first synthetic plastics that are used to make the black rims in those glasses wasn't invented until the early 20th century.
Clark Kent wore those type of glasses to help establish the nerdy character in opposition to the powerful superman. That was created in 1938, before TV.
I do seem to recall the pocket protector and tapped glasses going together for the motif most of the time... The one example im seeing int he TV show im watching right now has just the glasses though.