'Listens for layout change and performs a redraw when it occurs.'

def _setup_hooks(self):

    def hook_response(layout, group):
        if ((group.screen is not None) and (group.screen == self.bar.screen)):
            self.current_layout = layout.name
            self.bar.draw()
    hook.subscribe.layout_change(hook_response)
