get window durations from config