mirror of
https://github.com/powerline/powerline.git
synced 2025-07-19 20:04:56 +02:00
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…
x
Reference in New Issue
Block a user