diff --git a/powerline/segments/i3wm.py b/powerline/segments/i3wm.py index d8e9038d..e57f304e 100644 --- a/powerline/segments/i3wm.py +++ b/powerline/segments/i3wm.py @@ -7,12 +7,12 @@ def calcgrp( w ): group = ["workspace"] if w['urgent']: group.append( 'w_urgent' ) if w['visible']: group.append( 'w_visible' ) - if w['focused']: return "w_focused" #group.append( 'w_focused' ) + if w['focused']: return "w_focused" return group def workspaces( pl ): '''Return workspace list - Highlight groups used: ``workspace, visible, focused, urgent`` + Highlight groups used: ``workspace``, ``w_visible``, ``w_focused``, ``w_urgent`` ''' return [ {'contents': w['name'], 'highlight_group': calcgrp( w )} for w in i3.get_workspaces() ]