py3status
py3status copied to clipboard
events: strip whitespaces from OUTPUT, OUTPUT_PART
Users can use OUTPUT
, OUTPUT_PART
to do something useful with them. Sometimes, OUTPART_PART
will include either leading or trailing whitespace because it's not the only composite. This just strips both of them off anyway.
Solves https://github.com/ultrabug/py3status/issues/2243#issuecomment-2032012748.