My cheap/effective solution is doing a
$ sleep x && pkill Chrome
if I think I might fall asleep after x seconds. $ sleep x && pkill Chrome
if I think I might fall asleep after x seconds.when you put it that way I really don't see the appeal anymore