From 7d89ff2b493cd403954a35da8201712a2f3beb9c Mon Sep 17 00:00:00 2001 From: S0lll0s Date: Sun, 9 Feb 2014 11:10:49 +0100 Subject: [PATCH] Fix docstring for i3wm.workspaces segment --- powerline/segments/i3wm.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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() ]