There is a verb "маяться" (the word маятник probably comes from it) and expression "дурью маяться" (to do nothing).So, чем 'маешся is a super-slangy way of saying it, just as when English speakers say "Ahmanna-Gitzm lunch" instead of "I am going to get some lunch."