Also set prefix when processing segments in parsed_segments list

This commit is contained in:
ZyX 2015-01-05 23:43:36 +03:00
parent 1c1d33dbbf
commit dbc994887d

View File

@ -146,6 +146,7 @@ class Theme(object):
self.colorscheme, self.colorscheme,
) )
for segment in parsed_segments: for segment in parsed_segments:
self.pl.prefix = segment['name']
width = segment['width'] width = segment['width']
align = segment['align'] align = segment['align']
if width == 'auto' and segment['expand'] is None: if width == 'auto' and segment['expand'] is None: