Fix highlighting groups for workspaces segment
This commit is contained in:
parent
8cb11d8915
commit
9548c44119
|
@ -4,10 +4,11 @@ from powerline.theme import requires_segment_info
|
|||
import i3
|
||||
|
||||
def calcgrp( w ):
|
||||
group = ["workspace"]
|
||||
group = []
|
||||
if w['focused']: group.append( 'w_focused' )
|
||||
if w['urgent']: group.append( 'w_urgent' )
|
||||
if w['visible']: group.append( 'w_visible' )
|
||||
if w['focused']: return "w_focused"
|
||||
group.append( 'workspace' )
|
||||
return group
|
||||
|
||||
def workspaces( pl ):
|
||||
|
|
Loading…
Reference in New Issue