strip trailing /theme from style for pekwm