Glass switches