Yep, detox is not a fun thing no matter how you slice it. The librium is mostly there to help prevent severe withdrawal symptoms, it's not really going to make you "feel better" unfortunately.
One of the things that I found helpful in early sobriety was to very deliberately plan my days out and write down a daily schedule. Even simple things like "read a book" or "clean the kitchen" fill up the time and leave less idle time for your mind to wander.