swiftbar / SwiftBar

Powerful macOS menu bar customization tool
https://swiftbar.app
MIT License
2.95k stars 92 forks source link

Menu items prefixed with ']697;DoneSourcing' #286

Closed simonwj closed 2 years ago

simonwj commented 2 years ago

Firstly, thank you for SwiftBar. I love it.

Describe the bug After I ran the last update on SwiftBar it shows the text ']697;DoneSourcing' as a prefix to the emoji symbols I am using for the menu items. See screenshot

To Reproduce It shows whenever SwiftBar is running.

Expected behaviour Prior to the update SwiftBar used to just show the emoji symbols in the menu.

Screenshots SwiftBar-prefix

Environment:

Plugin Example: I am using Sunrise plugin https://github.com/matryer/xbar-plugins/blob/main/Time/sunrise.4h.swift and this SuperDuper plugin written in Python. I have been running both plugins for several versions without problems. superduper.6h.py.zip

Additional Context:

Can you recommend anything else I could try? Thanks, Simon

melonamin commented 2 years ago

Hi @simonwj, I have a loong thread for you to read #269, it has all answers

simonwj commented 2 years ago

Awesome Alex. I wrapped the fig_osc "DoneSourcing" in the if block and that has done it. Thanks again, for a great tool.

if [ -z $SWIFTBAR ]; then fig_osc "DoneSourcing" fi