def output(self, full_text, short_text):
full_text = full_text.replace('<STR_LIT:\n>', '<STR_LIT>')<EOL>short_text = short_text.replace('<STR_LIT:\n>', '<STR_LIT>')<EOL>self.output_options.update({'<STR_LIT>': full_text, '<STR_LIT>': short_text})<EOL>self.output_options = {k: v for k, v in self.output_options.items() if v}<EOL>return self.output_options<EOL>
Output all of the options and data for a segment.

full_text: A string representing the data that should be output to i3bar.
short_text: A more concise version of full_text, in case there is minimal
room on the i3bar.